aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association_proxy.rb
Commit message (Expand)AuthorAgeFilesLines
* Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-333/+0
* Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-141-3/+8
* Remove Relation#& alias for Relation#mergeErnie Miller2011-02-121-1/+1
* scope is always a RelationSantiago Pastorino2011-02-011-3/+1
* Propagate association extensions to scopes called on the association.Glenn Vanderburg2011-02-011-0/+3
* Rename AssociationProxy#loaded to loaded! as it mutates the associationJon Leighton2011-01-301-3/+3
* Abstract load_target conditional logicJon Leighton2011-01-301-5/+6
* Remove unused methods conditions, sql_conditions and sanitize_sqlJon Leighton2011-01-301-12/+0
* Let's be less blasé about method visibility on association proxiesJon Leighton2011-01-301-51/+54
* Abstract common code from BelongsToAssociation and HasOneAssociation into Sin...Jon Leighton2011-01-161-4/+5
* write the delegate method directly to avoid `delegate` callstack overheadAaron Patterson2011-01-141-1/+5
* reduce some lasignsAaron Patterson2011-01-141-2/+1
* just use return value of load_targetAaron Patterson2011-01-121-2/+1
* just call methods on return value of `load_target`Aaron Patterson2011-01-121-8/+3
* default return value is nilAaron Patterson2011-01-121-1/+0
* @loaded is defined in initialize, so we should not need thisAaron Patterson2011-01-121-2/+0
* just use respond_to? and super rather than aliasing around methodsAaron Patterson2011-01-121-4/+3
* adding a test for no method errorAaron Patterson2011-01-111-11/+5
* Get rid of set_association_target and association_loaded? as the parts of the...Jon Leighton2011-01-111-1/+2
* We can use the association_proxy method directly in HasOneThroughAssociation nowJon Leighton2011-01-111-17/+18
* Not really worth having the HasAssociation module for just a single methodJon Leighton2011-01-071-2/+9
* Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-16/+42
* use attr_reader and alias methods to access instance variablesAaron Patterson2011-01-051-8/+4
* Create the association scope directly rather than going through with_scopeJon Leighton2011-01-031-16/+20
* Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-14/+0
* Rename AssociationProxy#foreign_key_present to foreign_key_present?Jon Leighton2011-01-031-2/+2
* Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-9/+22
* Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh...Jon Leighton2010-12-311-8/+23
* And owner_quoted_id can go tooJon Leighton2010-12-311-5/+0
* Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst o...Jon Leighton2010-12-261-9/+15
* Add a HasAssociation module for common code for has_* associationsJon Leighton2010-12-261-54/+5
* Remove AssociationProxy#dependent? - it's badly named and only used in one placeJon Leighton2010-12-261-5/+0
* Associations: DRY up the code which is generating conditions, and make it all...Jon Leighton2010-12-261-9/+36
* Improved strategy for updating a belongs_to association when the foreign key ...Jon Leighton2010-12-231-0/+10
* Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-1/+1
* removing space errorsAaron Patterson2010-11-161-2/+2
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-3/+3
* Association Proxy should not undefine the default respond_to_missingsblackstone2010-11-041-1/+1
* Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc...Jon Leighton2010-10-301-0/+19
* Adds title to activerecord/lib/active_record/associations/*Rizwan Reza2010-06-161-0/+2
* Revert "removing the extra \"Neeraj Singh2010-06-151-1/+1
* removing the extra \Neeraj Singh2010-06-151-1/+1
* Prevent calling regexp on symbol in Ruby 1.9 in association_proxyErnie Miller2010-05-051-1/+1
* Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...)Jeremy Kemper2010-04-101-1/+3
* fisting uninitialized ivar warnings. [#4198 state:resolved]Aaron Patterson2010-03-161-0/+1
* keep AssociationProxy#to_a to avoid warning in Array(post.author), and delega...Xavier Noria2010-03-121-1/+1
* Make sure association proxy does not pass quoted table name to sanitize_sqlPratik Naik2010-01-011-1/+1
* Revert "Fix instance_eval calls to association proxies"Joshua Peek2009-12-121-2/+6
* Fix instance_eval calls to association proxiesMat Brown2009-12-021-6/+2
* Ruby 1.9.2: use recursive flattenJeremy Kemper2009-11-141-7/+1