diff options
author | Lars Kanis <kanis@comcard.de> | 2011-11-22 10:43:03 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-03-04 16:16:07 +0100 |
commit | f6d478adcd3d2b28760e6e8b7ca5c1fd8abbc8a0 (patch) | |
tree | a034339e2099c1ae99ef5128b144c5bf19e30236 /activerecord/test/cases/adapters/postgresql | |
parent | 23ca13a8774ca01ae702f6175508533f4e9dd924 (diff) | |
download | rails-f6d478adcd3d2b28760e6e8b7ca5c1fd8abbc8a0.tar.gz rails-f6d478adcd3d2b28760e6e8b7ca5c1fd8abbc8a0.tar.bz2 rails-f6d478adcd3d2b28760e6e8b7ca5c1fd8abbc8a0.zip |
fix associations when using per class databases
would get ConnectionNotEstablished error because it always tried to use
ActiveRecord::Base's connection, even though it should be using the connection
of the model whose context we're operating in
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql')
0 files changed, 0 insertions, 0 deletions