aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* used flat_map instead of map.flattenKarunakar (Ruby)2013-07-251-1/+1
* Make sure that a joins Relation can be merged with has_many :through + associ...Akira Matsuda2013-07-101-0/+6
* Remove redundant test about `push_with_attributes` removal.Vipul A M2013-07-091-7/+0
* #11288: Removed duplicated touchingPaul Nikitochkin2013-07-051-1/+42
* Cleanup belongs to testsPaul Nikitochkin2013-07-051-2/+1
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-032-31/+0
* Removed support for deprecated `delete_sql` in associations.Neeraj Singh2013-07-031-25/+0
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-022-140/+0
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-022-45/+0
* Merge pull request #10604 from neerajdotname/delete_all_should_not_call_callb...Rafael Mendonça França2013-07-012-2/+59
|\
| * Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-302-2/+59
* | Removed deprecated options for assocationsNeeraj Singh2013-07-022-22/+0
|/
* remove deprecated implicit join references.Yves Senn2013-06-291-15/+5
* Apply default scope when joining associations.Jon Leighton2013-06-281-0/+8
* Remove depreacted findersŁukasz Strzałkowski2013-06-281-2/+2
* Fix `another_contract` not being used warningVipul A M2013-06-241-1/+1
* test-case to prevent regressions described in #10901.Jared Armstrong2013-06-241-0/+27
* test-case to prevent regressions on `Association#build` with an Array.Yves Senn2013-06-221-0/+10
* do not load all child records for inverse caseNeeraj Singh2013-06-211-0/+8
* fix bad test by making number that fits for integerNeeraj Singh2013-06-211-1/+5
* Revert "Merge pull request #10566 from neerajdotname/10509d"Jon Leighton2013-06-191-8/+0
* do not load all child records for inverse caseNeeraj Singh2013-06-191-0/+8
* Merge pull request #10987 from senny/10979_association_include_returns_trueXavier Noria2013-06-181-11/+11
|\
| * `CollectionProxy#include?` returns `true` and `false` as documented.Yves Senn2013-06-181-11/+11
* | Merge pull request #10533 from vipulnsward/fix_testRafael Mendonça França2013-06-151-1/+2
|\ \ | |/ |/|
| * Make test name descriptive and add reference to original regression commitVipul A M2013-06-151-1/+2
* | Merge pull request #10824 from vipulnsward/wonderfulGuillermo Iguaran2013-06-021-1/+1
|\ \
| * | wonderfull => wonderfulVipul A M2013-06-021-1/+1
* | | Remove #sum with a block was deprecated.kennyj2013-06-011-6/+0
|/ /
* | `implicit_readonly` is being removed in favor of calling `readonly` explicitlyYves Senn2013-05-271-4/+4
* | Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-231-0/+8
|/
* Created a method to automatically find inverse associations and cachewangjohn2013-05-071-0/+82
* Confirm a record has not already been destroyed before decrementingBen Tucker2013-05-061-0/+20
* Fix #8856 Ensure has_one association=(associate) triggers save.Chris Thompson2013-04-301-0/+16
* Update counter cache when pushing into associationMatthew Robertson2013-04-211-0/+9
* Merge pull request #9996 from mikz/masterJon Leighton2013-04-051-0/+16
|\
| * fix inverse_of association in block of new childMichal Cichra2013-04-011-0/+16
* | has_many through obeys order on through associationNeeraj Singh2013-04-042-2/+8
* | Updated the error message for +find+ on an inverse_of associationwangjohn2013-04-011-2/+0
* | Throwing a RecordNotFound exception when a record is scanned using thewangjohn2013-04-011-0/+18
|/
* test-case to prevent resetting associations when preloading twice.Yves Senn2013-03-221-0/+7
* Fix some typos in AR- CHANGELOG, tests, method doc. fixedVipul A M2013-03-201-1/+1
* Calling find() on an association with an inverse will now check to seewangjohn2013-03-191-0/+25
* Merge pull request #9782 from vipulnsward/change_from_each_to_each_key_habtmRafael Mendonça França2013-03-181-2/+2
|\
| * 1. Change from each to each_value since we did not use keyVipul A M2013-03-191-2/+2
* | fix typos in AR. lots of them.Vipul A M2013-03-191-1/+1
|/
* If a counter_cache is defined, then using update_attributes and changingJohn Wang2013-03-151-0/+31
* Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-152-2/+2
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-153-4/+4
* Refactored test case with standard variable namingAnupam Choudhury2013-03-081-40/+40