aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-035-11/+4
* Removed support for deprecated `delete_sql` in associations.Neeraj Singh2013-07-032-16/+11
* Removed support for deprecated `insert_sql` in associations.Neeraj Singh2013-07-022-10/+6
* fix indentationNeeraj Singh2013-07-021-14/+14
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-023-41/+6
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-024-18/+14
* Merge pull request #10604 from neerajdotname/delete_all_should_not_call_callb...Rafael Mendonça França2013-07-012-15/+31
|\
| * Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-302-15/+31
* | Removed deprecated options for assocationsNeeraj Singh2013-07-022-19/+0
* | Removed deprecated method scopedNeeraj Singh2013-07-011-5/+0
* | don't shadow `through_scope` method name with local var.Yves Senn2013-06-301-7/+7
|/
* 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
|/