Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

.update_attributes! is now called .update!

Markus Kahl5f54e89aa9f2
diff --git a/lib/tasks/setting.rake b/lib/tasks/setting.rake
index f1fb31de8e1..a7e460ee46a 100644
--- a/lib/tasks/setting.rake
+++ b/lib/tasks/setting.rake
@@ -35,7 +35,7 @@ namespace :setting do
if setting.nil?
Setting.create! name: key, value: value
else
- setting.update_attributes! value: value
+ setting.update! value: value
end
end
end