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

fix backup rake tasks

Ivan Kuchind85dd03bff5b
diff --git a/lib/tasks/backup.rake b/lib/tasks/backup.rake
index b27069bb8d7..318be6fe449 100644
--- a/lib/tasks/backup.rake
+++ b/lib/tasks/backup.rake
@@ -88,7 +88,7 @@ namespace :backup do
private
def database_configuration
- ActiveRecord::Base.configurations[Rails.env] || Rails.application.config.database_configuration[Rails.env]
+ Rails.application.config.database_configuration[Rails.env]
end
def with_config_file(config, &blk)