summaryrefslogtreecommitdiff
path: root/lib/update_importer.rb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-27 22:52:50 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-27 22:52:50 +0200
commit9a19a0494ef51cdac9a78e24d517ca48ba44c453 (patch)
tree8eaae12d8047a40e29d3ea7ff3116b5c869e04bd /lib/update_importer.rb
parent85a01e35274b8d4d4165a7b26bd7986e211246bb (diff)
parent1853082fcd8c067390c246f9daa01a9b47387497 (diff)
Migration from Rails 2.3.5 to Rails 8.1 successful.
Merging dev branch.
Diffstat (limited to 'lib/update_importer.rb')
-rw-r--r--lib/update_importer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/update_importer.rb b/lib/update_importer.rb
index 103ac5a..2978c43 100644
--- a/lib/update_importer.rb
+++ b/lib/update_importer.rb
@@ -82,7 +82,7 @@ class UpdateImporter
82 I18n.locale = lang 82 I18n.locale = lang
83 83
84 unless node.head 84 unless node.head
85 page.update_attributes( 85 page.update(
86 :title => xhtml.elements['title'].get_text.to_s, 86 :title => xhtml.elements['title'].get_text.to_s,
87 :abstract => xhtml.elements['abstract'].get_text.to_s, 87 :abstract => xhtml.elements['abstract'].get_text.to_s,
88 :body => body 88 :body => body
@@ -176,7 +176,7 @@ class UpdateImporter
176 unless tmp_event = node.event 176 unless tmp_event = node.event
177 tmp_event = Event.create! event_options.merge({:node_id => node.id}) 177 tmp_event = Event.create! event_options.merge({:node_id => node.id})
178 else 178 else
179 tmp_event.update_attributes event_options 179 tmp_event.update event_options
180 end 180 end
181 end 181 end
182 end 182 end