aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/owner.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-061-1/+2
| | | | | | | | | | | | | | * Fix undefined method `owners' for NullPreloader:Class Fixing undefined method `owners' for ActiveRecord::Associations::Preloader::NullPreloader:Class * Use Ruby 1.9 hash format Use Ruby 1.9 hash format #24192 [Rafael Mendonça França + Ladislav Smola]
* AR specific length validator to respect `marked_for_destruction`.Yves Senn2014-12-301-0/+2
| | | | | | | | Closes #7247. Conflicts: activerecord/CHANGELOG.md activerecord/test/models/owner.rb
* Fix regression on eager loading association based on SQL query ratherLauro Caetano2014-06-031-0/+12
| | | | | | than existing column. Fixes #15480.
* Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-161-0/+17
|
* has_many through obeys order on through associationNeeraj Singh2013-04-041-1/+1
| | | | fixes #10016
* Deprecate set_primary_key in favour of self.primary_key=Jon Leighton2011-11-291-1/+1
|
* Ensure has_many :through works with changed primary keys [#736 state:resolved]Jim Remsik and Tim Pope2009-03-091-1/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed preloading belongs_to associations which reference a custom foreign ↵Jeremy Kemper2008-01-311-0/+4
key. References #9640. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de