aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* add a test for concat on hm:t associationsAaron Patterson2013-08-021-0/+7
* association builder classes no longer need the modelAaron Patterson2013-08-011-1/+1
* no need to define the constant twiceAaron Patterson2013-08-011-1/+0
* assert that constants have been set rather than the namesAaron Patterson2013-08-011-6/+8
* Merge pull request #11668 from neerajdotname/make_test_order_independent_2Rafael Mendonça França2013-07-301-1/+3
|\
| * assert_no_queries should ignore certain sqlsNeeraj Singh2013-07-301-1/+3
* | Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-292-4/+4
|/
* Clear class ivar before testingAkira Matsuda2013-07-291-0/+2
* Unneeded assertionAkira Matsuda2013-07-291-1/+1
* make test not depend on orderNeeraj Singh2013-07-281-0/+1
* 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
|/