aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/belongs_to_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove whitespace.Emilio Tagua2009-08-191-2/+2
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-151-4/+22
* Providing support for :inverse_of as an option to associations.Murray Steele2009-05-041-1/+11
* Add special AssociationReflection methods for creating association objects, a...Hongli Lai (Phusion)2008-09-091-2/+2
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
* Added :select option to has_one and belongs_to, remove unused :order option o...josevalim2008-05-241-2/+3
* Introduce the :readonly option to all associations. Records from the associat...Jeremy Kemper2008-02-131-1/+2
* Make sure that belongs_to counter decrements when assigning nil Closes #10804...Michael Koziarski2008-01-261-1/+1
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-051-3/+3
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-051-3/+3
* Use association's :conditions when eager loading. [jeremyevans0@gmail.com] cl...Rick Olson2006-03-161-1/+1
* Fix counter cache setting in belongs-to proxyJamis Buck2006-03-091-1/+1
* Make counter cache work when replacing an association (closes #3245). Thanks ...Jamis Buck2006-03-041-0/+11
* Added preliminary support for join models [DHH] Added preliminary support for...David Heinemeier Hansson2005-12-031-42/+16
* Work-in progress for providing better join model support and polymorphic asso...David Heinemeier Hansson2005-12-021-4/+0
* Added :include as an option for association declarations [DHH]David Heinemeier Hansson2005-11-061-2/+6
* Fix errors caused by assigning a has-one or belongs-to property to itselfJamis Buck2005-10-131-1/+1
* Fixed that the create_x method from belongs_to wouldn't save the association ...David Heinemeier Hansson2005-09-201-2/+2
* Fixed saving a record with two unsaved belongs_to associations pointing to th...Jamis Buck2005-09-201-0/+5
* Added support for calling constrained class methods on has_many and has_and_b...David Heinemeier Hansson2005-07-221-2/+11
* Moved build_association and create_association for has_one and belongs_to out...David Heinemeier Hansson2005-04-121-1/+0
* Fixed that the belongs_to and has_one proxy would fail a test like 'if projec...David Heinemeier Hansson2005-01-181-17/+1
* belongs_to association should always honor a present foreign key and conditio...David Heinemeier Hansson2005-01-171-1/+5
* Added support for associating unsaved objects #402 [Tim Bates]David Heinemeier Hansson2005-01-151-0/+70