diff options
author | Simon Dawson <spdawson@gmail.com> | 2017-03-30 17:53:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-30 17:53:16 +0100 |
commit | dd18bb942914845f4af8e6997930cbf401a74288 (patch) | |
tree | 6ae53a13bff1ecc99c3b8aa9e92d978fc54233f0 /activerecord/lib/active_record/associations/association.rb | |
parent | 93982de132f5e3fdcd7794d697a6566bd98da393 (diff) | |
download | rails-dd18bb942914845f4af8e6997930cbf401a74288.tar.gz rails-dd18bb942914845f4af8e6997930cbf401a74288.tar.bz2 rails-dd18bb942914845f4af8e6997930cbf401a74288.zip |
Fix example usage of ActiveRecord::Base.establish_connection
`ActiveRecord::Base.establish_connection` accepts a single symbol argument to specify a named connection; a single string argument appears to be interpreted as a connection URI
Diffstat (limited to 'activerecord/lib/active_record/associations/association.rb')
0 files changed, 0 insertions, 0 deletions