Skip to content
Browse files

entry is always a Hash

  • Loading branch information...
1 parent d035ba1 commit 0ec047533a1d1ed14e001cfe7fdee818c0c18124 @rafaelfranca rafaelfranca committed with matthewd Apr 7, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_handling.rb
View
2 activerecord/lib/active_record/connection_handling.rb
@@ -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

0 comments on commit 0ec0475

Please sign in to comment.
Something went wrong with that request. Please try again.