lib/tasks/db.rake in wcc-base-0.3.2 vs lib/tasks/db.rake in wcc-base-0.3.3

- old
+ new

@@ -28,10 +28,10 @@ def self.db_config_file_data if defined?(ActiveRecord::Base) && ActiveRecord::Base.configurations.present? ActiveRecord::Base.configurations else - @yaml_file ||= YAML.load(ERB.new(File.read('config/database.yml' )).result) + @yaml_file ||= YAML.load(ERB.new(File.read('config/database.yml' )).result, aliases: true) end rescue SystemCallError {} end end