aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Bugfix/refactoringJon Leighton2010-10-191-0/+9
* | Remove unused methodsJon Leighton2010-10-191-11/+0
* | Support for :primary_key option on the source reflection of a through associa...Jon Leighton2010-10-191-0/+8
* | Properly support conditions on any of the reflections involved in a nested th...Jon Leighton2010-10-191-3/+50
* | Make sure nested through associations are read onlyJon Leighton2010-10-151-0/+4
* | Integrate nested support into ThroughAssociationScope, using my concept of ge...Jon Leighton2010-10-021-10/+40
* | Started implementing nested :through associations by using the existing struc...Jon Leighton2010-10-011-0/+15
* | Initial nested_has_many_through support [#1152]Bodaniel Jeanes2010-09-261-3/+3
|/
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-13/+13
* applied guidelines to "# =>"Paco Guzman2010-08-121-1/+1
* Tidy up previous commit.José Valim2010-08-021-14/+12
* returns not returned . fixing documentation for reflectionNeeraj Singh2010-07-301-28/+30
* bringing consistency in commentsNeeraj Singh2010-07-241-14/+17
* Adds basic description and title.Rizwan Reza2010-06-161-15/+30