diff options
author | Matt Todd <chiology@gmail.com> | 2015-10-19 02:03:29 -0700 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2015-10-26 21:36:43 -0400 |
commit | 3c4aa73ce8ea3dd8deb6025bc62382c1e9c870f3 (patch) | |
tree | 58f547526e8fd8d4c11527aeed5ccaa0cd0e624d /activerecord/test/cases/relation/merging_test.rb | |
parent | 6a25202d9ea3b4a7c9f2d6154b97cf8ba58403db (diff) | |
download | rails-3c4aa73ce8ea3dd8deb6025bc62382c1e9c870f3.tar.gz rails-3c4aa73ce8ea3dd8deb6025bc62382c1e9c870f3.tar.bz2 rails-3c4aa73ce8ea3dd8deb6025bc62382c1e9c870f3.zip |
Make inherited scope test fail
This triggers the JoinDependency work to reflect on the associations
and trigger an error as follows:
ActiveRecord::ConfigurationError: Association named 'account' was
not found on Company; perhaps you misspelled it?
Fix Company.of_first_firm joins association name
Should be `Company.joins(:accounts)` not `Company.joins(:account)`.
Do the same for Client.of_first_firm
Diffstat (limited to 'activerecord/test/cases/relation/merging_test.rb')
0 files changed, 0 insertions, 0 deletions