aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/singular_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Mutating the result of Relation#to_a should not affect the relationMatthew Draper2016-02-211-1/+1
* Delete needless `require 'active_support/deprecation'`yui-knk2015-10-201-2/+0
* Skip statement cache on through association readerRafael Mendonça França2015-08-121-6/+1
* Deprecate force association reload by passing truePrem Sichanugrist2015-07-151-0/+8
* Fix `undefined method uncached` for polymorphic belongs_to #20426James Dabbs2015-06-131-1/+1
* Isolate access to .default_scopes in ActiveRecord::Scoping::DefaultBen Woosley2015-03-121-2/+1
* default scopes should break the cache on singulur_association.alfa-jpn2014-11-081-1/+2
* break cache if we're inside a "scoping" call. fixes #17052Aaron Patterson2014-10-141-1/+6
* Skip StatementCache for eager loaded associations (Fixes #16761)Sammy Larbi2014-09-041-1/+1
* use statement cache for belongs_to relationsAaron Patterson2014-04-221-1/+12
* extract record fetching to a method for belongs_toAaron Patterson2014-04-221-1/+5
* [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-3/+3
* `has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.Rafael Mendonça França2014-01-211-1/+1
* remove the nil check from set_inverse_instanceAaron Patterson2013-12-121-1/+3
* Remove useless comment and white spaces :scissors: [ci skip]Carlos Antonio da Silva2013-09-011-1/+0
* This is comment for singular association.kennyj2012-11-021-1/+1
* Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-8/+8
* s/scoped/scope/Jon Leighton2012-08-011-2/+2
* Ensure that the foreign key gets set when doing record.create_association or ...Jon Leighton2011-07-081-2/+11
* Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-301-2/+1
* Don't pass a block as we are yieldingAndrew White2011-05-171-1/+1
* Add block setting of attributes to singular associationsAndrew White2011-05-171-5/+6
* Pass the attribute and option hashes to build_associationAndrew White2011-05-171-6/+6
* Don't use mass-assignment protection when setting foreign keys or association...Jon Leighton2011-05-121-9/+9
* singular and collection relations in AR can now specify mass-assignment secur...Josh Kalderimis2011-05-011-8/+8
* Add additional text to NotImplementedErrors [#6328 state:resolved]Mike Gehard2011-03-121-1/+1
* Use proper objects to do the work to build the associations (adding methods, ...Jon Leighton2011-02-211-0/+16
* Singular associations no longer use a proxy, so no need to check for the prox...Jon Leighton2011-02-211-6/+0
* Associations - where possible, call attributes methods rather than directly a...Jon Leighton2011-02-211-1/+1
* Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-2/+2
* Let's be less blasé about method visibility on association proxiesJon Leighton2011-01-301-0/+1
* We shouldn't be using scoped.scoping { ... } to build associated records, as ...Jon Leighton2011-01-301-6/+9
* find_target can also go into SingularAssociationJon Leighton2011-01-161-0/+4
* Abstract a bit more into SingularAssociationJon Leighton2011-01-161-0/+6
* Abstract common code from BelongsToAssociation and HasOneAssociation into Sin...Jon Leighton2011-01-161-0/+31