aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix #3271.Jon Leighton2011-11-031-1/+1
* Raise an exception on unknown primary key inside AssociationReflection.Jon Leighton2011-10-051-4/+8
* Don't call self.class unless necessary. Closes #3171.Jon Leighton2011-09-291-2/+2
* Fix belongs_to polymorphic with custom primary key on target.Jon Leighton2011-09-261-15/+11
* Ensure we are not comparing a string with a symbol in HasManyAssociation#inve...Jon Leighton2011-09-061-1/+1
* calling super is super. if the other object is exactly equal, we can return e...Aaron Patterson2011-07-011-1/+5
* Remove AssociationReflection#create_association and AssociationReflection#cre...Jon Leighton2011-06-301-17/+0
* Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-301-2/+2
* cache the plural name on the reflection so we do not pay pluralize costs on j...Aaron Patterson2011-06-301-6/+13
* Merge branch 'master' of github.com:rails/railsXavier Noria2011-05-251-6/+0
|\
| * removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-6/+0
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-1/+1
|\ \ | |/ |/|
| * Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
* | Fix problem with loading polymorphic associations which have been defined in ...Jon Leighton2011-05-221-5/+4
|/
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-131-1/+1
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...David Heinemeier Hansson2011-04-121-1/+1
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-1/+2
* Simplify implementation of ThroughReflection#chainJon Leighton2011-03-111-22/+2
* Rename Reflection#through_reflection_chain and #through_options to Reflection...Jon Leighton2011-03-101-27/+33
* Move the code which builds a scope for through associations into a generic As...Jon Leighton2011-03-101-3/+3
* Fix test_has_many_association_through_a_has_many_association_with_nonstandard...Jon Leighton2011-03-071-1/+1
* Refactor ThroughAssociation#join_to to be much smaller, and independent of co...Jon Leighton2011-03-061-0/+6
* Push source_type and polymorphic conditions out of ThroughAssociation and Joi...Jon Leighton2011-03-051-10/+11
* Add a test for STI on the through where the through is nested, and change the...Jon Leighton2011-03-051-0/+3
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-18/+65
|\
| * Rewrote AssociationPreload.Jon Leighton2011-02-281-4/+6
| * Delegate Association#options to the reflection, and replace 'reflection.optio...Jon Leighton2011-02-211-0/+8
| * Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-1/+1
| * Ensure that association_ids uses the correct attribute where the association ...Jon Leighton2011-02-181-0/+4
| * DRY up the code which instantiates the association proxyJon Leighton2011-01-111-0/+25
| * Implement deprecated version of AssociationReflection#primary_key_name, which...Jon Leighton2011-01-031-0/+6
| * Have a proper AssociationReflection#foreign_type method rather than using opt...Jon Leighton2011-01-031-0/+4
| * Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-7/+7
| * Now we can drop-kick AssociationReflection#dependent_conditions into oblivion.Jon Leighton2010-12-311-11/+0
| * Raise an error for associations which try to go :through a polymorphic associ...Jon Leighton2010-12-231-1/+5
| * Improved strategy for updating a belongs_to association when the foreign key ...Jon Leighton2010-12-231-1/+4
| * Don't allow a has_one association to go :through a collection association [#2...Jon Leighton2010-12-231-0/+4
| * Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-0/+4
| * Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-151-1/+5
| * reduce method callsAaron Patterson2010-12-161-1/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-1/+1
|\ \
| * | reduce method callsAaron Patterson2010-12-101-1/+1
| |/
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-271-11/+9
|\|
| * class inheritable attributes is used no more! all internal use of class inher...Josh Kalderimis2010-11-201-11/+9
* | Fix naughty trailing whitespaceJon Leighton2010-10-311-21/+21
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-281-2/+2
|\|
| * use grep instead of select + is_a?Aaron Patterson2010-10-201-2/+2
* | Add some comments for ThroughReflection#through_reflection_chainJon Leighton2010-10-191-1/+10
* | Remove various comments and code which were just being used during the develo...Jon Leighton2010-10-191-24/+0
* | Add explicit tests for the nested through association changes in reflection.rbJon Leighton2010-10-191-2/+13