aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/pet.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add missing require to inheritance testCarlos Antonio da Silva2013-04-031-2/+0
|
* Deprecate set_primary_key in favour of self.primary_key=Jon Leighton2011-11-291-1/+1
|
* fix warnings, stop using global variablesAaron Patterson2010-11-301-1/+5
|
* If a nested_attribute is being marked for destruction and at the same time ↵Neeraj Singh2010-11-241-0/+8
| | | | | | | | an attr_accessor value is being assigned then the value being assigned is being ignored. This patch is a fix for that issue. [#5939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added :touch option to belongs_to associations that will touch the parent ↵David Heinemeier Hansson2009-04-161-1/+1
| | | | record when the current record is saved or destroyed [DHH]
* 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