aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association_proxy.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-143/+169
|\
| * 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
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-201-1/+1
|\|
| * Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-1/+1
* | Use association_class method which returns the reflection class, this method ...Emilio Tagua2010-11-191-2/+6
* | Check if constant is defined in AR, if not this can cause errors when using p...Emilio Tagua2010-11-191-1/+1
* | Use hash[:Post][1] style identity maps for each table.Emilio Tagua2010-11-191-3/+3
* | Remove associated object from identity map when reloading.Emilio Tagua2010-11-191-0/+1
* | Associated objects are assigned from identity map if enabled and contains ass...Emilio Tagua2010-11-191-2/+5
|/
* 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