aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-2/+2
* Refactor to remove some duplicationJon Leighton2012-09-121-0/+4
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-021-1/+0
* Revert "Removing composed_of from ActiveRecord."Rafael Mendonça França2012-07-271-5/+40
* remove unused methodJon Leighton2012-07-201-4/+0
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-19/+15
* Allow associations to take a lambda which builds the scopeJon Leighton2012-07-131-4/+7
* Improve the derivation of HABTM assocation join table namesAndrew White2012-06-221-0/+16
* Removing composed_of from ActiveRecord.Steve Klabnik2012-06-181-40/+5
* Simplify AR configuration code.Jon Leighton2012-06-151-2/+1
* de-globalise methodJon Leighton2012-05-041-0/+4
* Refactor and cleanup in some ActiveRecord modulesCarlos Antonio da Silva2012-03-031-9/+9
* Remove useless argument in #columns.Sebastian Martinez2012-02-021-2/+2
* no need for extra method calls inside the frameworkAaron Patterson2012-01-091-1/+1
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-281-1/+2
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-12-161-1/+1
|\
| * Update activerecord/lib/active_record/reflection.rbAlexander2011-12-141-1/+1
* | Don't try to autosave nested assocs. Fixes #2961.Jon Leighton2011-12-141-0/+4
|/
* Allow the :class_name option for associations to take a symbol.Jon Leighton2011-11-041-1/+1
* 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