Skip to content

Commit

Permalink
entry is always a Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca authored and matthewd committed Apr 8, 2014
1 parent d035ba1 commit 0ec0475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/connection_handling.rb
Expand Up @@ -84,7 +84,7 @@ def config

if env_url
entry ||= {}
entry.merge!("url" => env_url) { |h, v1, v2| v1 || v2 } if entry.is_a?(Hash)
entry.merge!("url" => env_url) { |h, v1, v2| v1 || v2 }
end

hash[key] = entry if entry
Expand Down

0 comments on commit 0ec0475

Please sign in to comment.