aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_one_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Adds title to activerecord/lib/active_record/associations/*Rizwan Reza2010-06-161-0/+1
* Add more tests for the various ways we can assign objects to associations. [#...Murray Steele2009-12-281-2/+1
* Set inverse for #replace on a has_one association. [#3513 state:resolved]George Ogata2009-12-281-0/+1
* Make has_one with :conditions hash scope build or creation of the associated ...Luciano G Panaro2009-09-281-0/+9
* HasOneAssociation inherits AssociationProxy since it shares nothing with Belo...Emilio Tagua2009-06-121-5/+5
* Revert "Fixed bug with polymorphic has_one :as pointing to an STI record"Jeremy Kemper2009-05-111-1/+1
* Providing support for :inverse_of as an option to associations.Murray Steele2009-05-041-1/+10
* Fixed bug with polymorphic has_one :as pointing to an STI recordRuy Asan2009-05-011-1/+1
* Ensure replacing has_one associations respects the supplied :dependent option...Dimitri Krassovski2009-03-061-2/+11
* Ensure methods called on association proxies respect access control. [#1083 s...Pratik Naik2008-10-131-1/+1
* Add special AssociationReflection methods for creating association objects, a...Hongli Lai (Phusion)2008-09-091-4/+12
* Fix that has_one natural assignment to already associated record. [#854 state...Jakub Kuźma2008-08-211-2/+2
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
* Add support for :primary_key option to has_one as well as has_many so that a ...Brad Greenlee2008-07-061-1/+10
* Extract owner_quoted_id so it can be overridden. [#292 state:committed]Andre Arko2008-06-251-2/+2
* 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
* More thoroughly quote table names. Exposes some issues with sqlite2 adapter. ...Jeremy Kemper2008-01-051-3/+3
* Formatting, grammar and spelling fixes for the associations documentation. [s...Michael Koziarski2007-08-281-1/+1
* with_scope is protected. Closes #8524.Jeremy Kemper2007-05-301-1/+1
* dry up some duplicated codeJamis Buck2007-01-111-37/+21
* treat create! like create and make sure the target is loaded firstJamis Buck2007-01-111-0/+1
* fix regression in has_one#create, that caused instances thus created to be or...Jamis Buck2007-01-111-0/+4
* Remove side effects of [5684]Tobias Lütke2006-12-081-2/+2
* Consolidated different create and create! versions to call through to the bas...Tobias Lütke2006-12-061-3/+30
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-051-5/+5
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-051-5/+5
* Rename quote to quote_value so the name can be used in AR models. #3628 [Koz]Michael Koziarski2006-09-041-1/+1
* Use association's :conditions when eager loading. [jeremyevans0@gmail.com] cl...Rick Olson2006-03-161-1/+1
* Added Base.abstract_class? that marks which classes are not part of the Activ...Rick Olson2006-03-161-1/+1
* Fixed that calling HasOneProxy#build_model repeatedly would cause saving to h...David Heinemeier Hansson2006-03-031-1/+1
* save polymorphic joins from the has_many|one association (closes #3812) [Rick...David Heinemeier Hansson2006-02-121-2/+1
* Polymorphic join support for has_one associations (has_one :foo, :as => :bar)...Jeremy Kemper2006-02-091-2/+8
* Added preliminary support for join models [DHH] Added preliminary support for...David Heinemeier Hansson2005-12-031-13/+14
* Don't add the same conditions twice in has_one finder sql. References #2916.Jeremy Kemper2005-11-171-1/+1
* Added :include as an option for association declarations [DHH]David Heinemeier Hansson2005-11-061-1/+1
* Parenthesize :conditionsJeremy Kemper2005-10-181-0/+2
* Fix errors caused by assigning a has-one or belongs-to property to itselfJamis Buck2005-10-131-2/+2
* Added support for calling constrained class methods on has_many and has_and_b...David Heinemeier Hansson2005-07-221-1/+1
* Replace the in-memory object, but dont orphan the existing oneDavid Heinemeier Hansson2005-06-071-0/+1
* Added a second parameter to the build and create method for has_one that cont...David Heinemeier Hansson2005-06-061-0/+18
* Qualify the ids used such that eager loading can avoid ambigious keysDavid Heinemeier Hansson2005-04-131-1/+1
* Made eager loading work even moreDavid Heinemeier Hansson2005-04-031-1/+1
* Added destruction of dependent objects in has_one associations when a new ass...David Heinemeier Hansson2005-03-061-2/+7
* Fixed that the belongs_to and has_one proxy would fail a test like 'if projec...David Heinemeier Hansson2005-01-181-2/+2
* Added support for associating unsaved objects #402 [Tim Bates]David Heinemeier Hansson2005-01-151-0/+48