aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/ratings.yml
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #14544 from jefflai2/named_scope_sti"Rafael Mendonça França2014-05-211-10/+0
| | | | | | | | | | | | This reverts commit 9a1abedcdeecd9464668695d4f9c1d55a2fd9332, reversing changes made to c72d6c91a7c0c2dc81cc857a1d6db496e84e0065. Conflicts: activerecord/CHANGELOG.md activerecord/test/models/comment.rb This change break integration with activerecord-deprecated_finders so I'm reverting until we find a way to make it work with this gem.
* Fixes Issue #13466.Jefferson Lai2014-04-231-0/+10
| | | | | | Changed the call to a scope block to be evaluated with instance_eval. The result is that ScopeRegistry can use the actual class instead of base_class when caching scopes so queries made by classes with a common ancestor won't leak scopes.
* Add support for nested through associations in JoinAssociation. Hence ↵Jon Leighton2010-10-091-0/+14
Foo.joins(:bar) will work for through associations. There is some duplicated code now, which will be refactored.