aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* hm:t preloading will respect order set on the RHS associationAaron Patterson2013-09-231-0/+15
* Merge pull request #12011 from jetthoughts/11963_fix_join_with_association_scopeRafael Mendonça França2013-09-161-0/+5
|\
| * Collapse where constraints to one where constraintPaul Nikitochkin2013-09-131-0/+5
* | Merge pull request #12137 from lann/fix_association_first_lastRafael Mendonça França2013-09-121-3/+5
|\ \
| * | Make CollectionAssociation first/last with integer fetch with queryLann Martin2013-09-091-3/+5
| |/
* | these are not real developer objects, so counting them doesn't makeAaron Patterson2013-09-111-1/+1
* | Merge pull request #12135 from dylanahsmith/avoid_empty_transactionRafael Mendonça França2013-09-111-0/+2
|\ \
| * | Avoid empty transaction from setting has_one association on new record.Dylan Thacker-Smith2013-09-111-0/+2
* | | fix deleting join models with no pkAaron Patterson2013-09-111-5/+47
|/ /
* | add a comment for sanity of other people to comeAaron Patterson2013-09-101-0/+8
* | hm:t join tables may not have a primary keyAaron Patterson2013-09-061-0/+18
|/
* Merge pull request #11958 from jetthoughts/extract_pre_process_orders_argsYves Senn2013-09-041-2/+5
|\
| * Extracted from `order` processing of arguments, and use it for `reorder` to b...Paul Nikitochkin2013-09-041-2/+5
* | adding a hm:t test for singleton ar objectsAaron Patterson2013-09-031-0/+27
* | support anonymous classes on has_many associationsAaron Patterson2013-09-031-0/+18
* | Don't need to check if the scope respond to callRafael Mendonça França + Kassio Borges2013-08-311-1/+1
* | add missing fixtures fileAaron Patterson2013-08-301-1/+2
* | make sure there are actually some categories when running the testAaron Patterson2013-08-291-0/+1
* | pk should not be required for hm:t associationsAaron Patterson2013-08-291-0/+7
|/
* query the association rather than send the method for the association nameAaron Patterson2013-08-271-6/+4
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-08-171-1/+1
|\
| * Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-171-1/+1
* | Fixing multi-word automatic inverse detection.wangjohn2013-08-151-0/+14
* | using assert_not instead of refuteRajarshi Das2013-08-131-1/+1
* | 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