Skip to content

Commit

Permalink
Merge pull request #2267 from DimitriosLisenko/fix-typo
Browse files Browse the repository at this point in the history
Update activerecord.rb
  • Loading branch information
nesquena committed Jan 11, 2023
2 parents e1f5314 + f025cdc commit dc493e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-gen/lib/padrino-gen/padrino-tasks/activerecord.rb
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def with_all_databases

def configuration_hash(configuration)
return configuration if less_than_active_record_6_0?
config = less_than_active_record_6_1 ? configuration.config : configuration.configuration_hash
config = less_than_active_record_6_1? ? configuration.config : configuration.configuration_hash
config.with_indifferent_access
end

Expand Down

0 comments on commit dc493e3

Please sign in to comment.