aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Simplify/fix implementation of default scopesJon Leighton2013-06-284-9/+3
* Apply default scope when joining associations.Jon Leighton2013-06-281-0/+2
* do not load all child records for inverse caseNeeraj Singh2013-06-211-1/+1
* Revert "Merge pull request #10566 from neerajdotname/10509d"Jon Leighton2013-06-191-1/+1
* do not load all child records for inverse caseNeeraj Singh2013-06-191-1/+1
* `CollectionProxy#include?` returns `true` and `false` as documented.Yves Senn2013-06-181-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-06-141-3/+4
|\
| * enhanced comments for foreign_key_present? methodNeeraj Singh2013-05-231-3/+4
* | bind values should not be merged between scopesAaron Patterson2013-06-111-1/+1
* | stop adding a new method for touch callbacksAaron Patterson2013-06-111-29/+21
* | push the touch method outside the evalAaron Patterson2013-06-111-13/+34
* | remove unused variableAaron Patterson2013-06-111-1/+0
* | check whether the association is constructible rather than checking constantsAaron Patterson2013-06-111-3/+3
* | use attribute methods for finding key values rather than generating method namesAaron Patterson2013-06-111-3/+3
* | push belongs_to counter cache method to a single methodAaron Patterson2013-06-111-17/+18
* | push before_destroy counter cache method to a single methodAaron Patterson2013-06-111-12/+17
* | remove evaled belongs_to counter cache methodAaron Patterson2013-06-111-8/+22
* | adding callbacks should be privateAaron Patterson2013-06-111-4/+6
* | remove evals from the associationAaron Patterson2013-06-111-8/+2
* | reduce evals in depdendent associationsAaron Patterson2013-06-111-1/+2
* | Getting rid of the +automatic_inverse_of: false+ option in associations in favorwangjohn2013-06-082-2/+2
* | Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-231-2/+1
* | just set the default argument, a nil parent should be an errorAaron Patterson2013-05-211-2/+1
* | fold the collection rather than multiple assigmentsAaron Patterson2013-05-211-3/+2
* | use drop rather than calculate the array lengthAaron Patterson2013-05-211-1/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-05-195-7/+34
|\
| * copy edits[ci skip]Vijay Dev2013-05-191-11/+8
| * Added some more documentation for define_readers and define_writer of the Ass...aditya-kapoor2013-05-153-0/+15
| * Added some more documentation for ActiveRecord::Associations::Builder::Associ...aditya-kapoor2013-05-151-0/+11
| * Added documentation for ActiveRecord::Associations::Builder::Association classaditya-kapoor2013-05-151-0/+4
| * emphasize that callbacks are called in destroy_allNeeraj Singh2013-05-132-7/+7
* | stop doing assingments in an iteratorAaron Patterson2013-05-171-2/+6
|/
* Extract JoinDependency#join_relation to DRY the repeated application of the #...Ben Woosley2013-05-101-0/+7
* Move #proxy_association method to AssociationRelationJon Leighton2013-05-101-3/+1
* Set the inverse when association queries are refinedJon Leighton2013-05-101-1/+5
* Created a method to automatically find inverse associations and cachewangjohn2013-05-072-2/+2
* Merge pull request #10489 from greenriver/ar_counter_cache_multiple_destroyRafael Mendonça França2013-05-061-1/+3
|\
| * Confirm a record has not already been destroyed before decrementingBen Tucker2013-05-061-1/+3
* | Do not overwrite manually built records during one-to-one nested attribute as...Olek Janiszewski2013-05-031-4/+8
|/
* Fix #8856 Ensure has_one association=(associate) triggers save.Chris Thompson2013-04-301-3/+2
* Lookup the class at runtime, not when the association is builtAndrew White2013-04-241-2/+2
* Revert "Revert "`belongs_to :touch` behavior now touches old association when...Andrew White2013-04-241-1/+12
* Revert "`belongs_to :touch` behavior now touches old association when transit...David Heinemeier Hansson2013-04-231-12/+1
* Update counter cache when pushing into associationMatthew Robertson2013-04-211-3/+4
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-04-113-4/+4
|\
| * JoinPart is no longer an abstract classNeeraj Singh2013-04-081-1/+1
| * minor copy editingNeeraj Singh2013-03-302-3/+3
* | rdoc for some of the methods in JoinDependencyNeeraj Singh2013-04-102-0/+36
* | remove_duplicate_results! should be protectedNeeraj Singh2013-04-101-2/+2
* | While merging relations preserve context for joinsJared Armstrong and Neeraj Singh2013-04-101-1/+6