diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-01-06 09:15:11 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-01-06 09:15:11 -0200 |
commit | 5d238ea926560ad0cb1287c6bcc34d2d3d7f982d (patch) | |
tree | ac0b5f57823a7848808018ce6b558441b5d1e43a /activerecord | |
parent | 28161b7c884d4e780775657ad32f0f2b26294b2f (diff) | |
download | rails-5d238ea926560ad0cb1287c6bcc34d2d3d7f982d.tar.gz rails-5d238ea926560ad0cb1287c6bcc34d2d3d7f982d.tar.bz2 rails-5d238ea926560ad0cb1287c6bcc34d2d3d7f982d.zip |
Fix AR connection resolver docs to return a hash with string keys [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/connection_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/connection_specification.rb b/activerecord/lib/active_record/connection_adapters/connection_specification.rb index b316107e37..9f210c5f33 100644 --- a/activerecord/lib/active_record/connection_adapters/connection_specification.rb +++ b/activerecord/lib/active_record/connection_adapters/connection_specification.rb @@ -112,7 +112,7 @@ module ActiveRecord # # configurations = { "production" => { "host" => "localhost", "database" => "foo", "adapter" => "sqlite3" } } # Resolver.new(configurations).resolve(:production) - # # => {host: "localhost", database: "foo", adapter: "sqlite3"} + # # => { "host" => "localhost", "database" => "foo", "adapter" => "sqlite3"} # # Initialized with URL configuration strings. # |