aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Show warning message if delete_all is firing callbacksNeeraj Singh2013-03-111-0/+9
* | Deprecate #connection in favour of accessing it via the classBen Moss2013-03-091-3/+3
|/
* deal with `#append` and `#prepend` on association collections.Yves Senn2013-03-011-0/+5
* don't use non-ascii ' chars in documentationYves Senn2013-03-011-4/+4
* Fix touching an invalid parent record for belongs_toOlek Janiszewski2013-02-261-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-02-261-1/+1
|\
| * BELONGS TO ASSOCIATION | Typo fixlibin2013-02-251-1/+1
* | No need to send public methodsAkira Matsuda2013-02-262-2/+2
* | don't apply invalid ordering when preloading hmt associations.Yves Senn2013-02-241-2/+2
|/
* don't cache invalid subsets when preloading hmt associations.Yves Senn2013-02-141-1/+2
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-1/+1