aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | | Throwing a RecordNotFound exception when a record is scanned using thewangjohn2013-04-011-1/+13
|/ / /
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-1/+2
|\ \ \
| * | | explain method invertible_for [ci skip]Neeraj Singh2013-03-291-1/+2
* | | | Do not use deprecate method [ci skip]Neeraj Singh2013-03-291-1/+1
* | | | fix broken sentence [ci skip]Neeraj Singh2013-03-291-1/+1
| |_|/ |/| |
* | | Adding a bang to method name of raise_on_type_mismatch.wangjohn2013-03-216-8/+8
* | | Update other counter caches on destroyIan Young2013-03-202-2/+2
* | | Properly named variable inside blockAnupam Choudhury2013-03-201-2/+2
* | | Calling find() on an association with an inverse will now check to seewangjohn2013-03-191-2/+3
* | | 1. Change from each to each_value since we did not use keyVipul A M2013-03-191-1/+1
* | | If a counter_cache is defined, then using update_attributes and changingJohn Wang2013-03-151-0/+20
* | | Cache the association proxy objectJon Leighton2013-03-151-1/+1
* | | Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-151-2/+3
* | | rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-153-9/+11
* | | hide more data in the schema cacheAaron Patterson2013-03-141-1/+1
| |/ |/|
* | dependent: :destroy should call destroy_allNeeraj Singh2013-03-111-2/+3