aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' into experimentAaron Patterson2013-05-215-7/+34
|\
| * 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
* | | push binds through relation objectsAaron Patterson2013-05-203-1/+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
* | changed variable name active_record => base_klassNeeraj Singh2013-04-094-12/+12
* | Avoid iterating over records hash when not necessaryCarlos Antonio da Silva2013-04-071-2/+6
* | each to each_value; remove unused varsVipul A M2013-04-071-1/+1
* | Merge pull request #9996 from mikz/masterJon Leighton2013-04-051-0/+1
|\ \
| * | fix inverse_of association in block of new childMichal Cichra2013-04-011-0/+1
* | | Merge pull request #10058 from jamesgolick/masterJon Leighton2013-04-051-4/+2
|\ \ \
| * | | Refactor CollectionProxy#scope to avoid calling #extend.James Golick2013-04-021-4/+2
* | | | Avoid an attempt to fetch old record when id was not present in touch callbackCarlos Antonio da Silva2013-04-041-7/+7
* | | | Use the correct pk field from the reflected class to find the old recordCarlos Antonio da Silva2013-04-041-1/+2
* | | | Use inspect when writing the foreign key from the reflectionAndrew White2013-04-051-2/+2
* | | | use | to have more intent revealing codeNeeraj Singh2013-04-041-1/+1
* | | | Merge pull request #10087 from neerajdotname/10016Carlos Antonio da Silva2013-04-041-0/+1
|\ \ \ \
| * | | | has_many through obeys order on through associationNeeraj Singh2013-04-041-0/+1
* | | | | Merge pull request #10088 from neerajdotname/fixes1Rafael Mendonça França2013-04-042-5/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | show name of the klass that has missing associationNeeraj Singh2013-04-021-1/+1
| * | | | not a relation. it's an arel select managerNeeraj Singh2013-04-021-4/+4
| |/ / /
* | | | Merge pull request #9141 from adamgamble/issue-9091David Heinemeier Hansson2013-04-031-0/+10
|\ \ \ \
| * | | | Modifies belong_to touch callback to touch old associations also #9091Adam Gamble2013-03-141-0/+10
* | | | | Merge pull request #10049 from vipulnsward/optimize_around_merge_v1Rafael Mendonça França2013-04-031-1/+1
|\ \ \ \ \
| * | | | | optimize some code around mergeVipul A M2013-04-031-1/+1
| | |_|_|/ | |/| | |
* | | | | Move alias method near to the aliased one in collection proxyCarlos Antonio da Silva2013-04-031-2/+1
| |_|/ / |/| | |
* | | | no need to invoke to_s before applying internNeeraj Singh2013-04-021-1/+1
* | | | Updated the error message for +find+ on an inverse_of associationwangjohn2013-04-011-1/+1