aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_through_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-261-5/+5
* Merge pull request #15728 from sgrif/sg-double-save-hm-tRafael Mendonça França2014-06-191-1/+20
|\
| * Don't save through records twiceSean Griffin2014-06-171-0/+19
* | Don't include inheritance column in the through_scope_attributesNat Budin2014-06-171-0/+8
|/
* Through associations should set both parent ids on join modelsSean Griffin2014-06-131-0/+13
* clear shouldnt fire callbacks so remove order testeileencodes2014-04-281-3/+0
* Perfer to define methods instead of calling testRafael Mendonça França2014-04-221-4/+4
* Fix syntax errorRafael Mendonça França2014-04-221-0/+1
* Merge pull request #14573 from habermann24/has_many_through_fixRafael Mendonça França2014-04-221-0/+11
|\
| * Properly handle scoping with has_many :through. Fixes #14537.Jan Habermann2014-04-031-0/+12
* | Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-101-1/+13
|\ \ | |/ |/|
| * Fix insertion of records for hmt association with scope, fix #3548Ivan Antropov2013-11-171-1/+13
* | Add regression test for collection proxy readerArthur Neves2014-02-201-0/+7
|/
* Prevent the counter cache from being decremented twicedm1try2013-11-111-0/+9
* Assert the return value in the testRafael Mendonça França2013-10-271-1/+1
* Skip `include_values` from through associations chains for building target scopePaul Nikitochkin2013-10-271-0/+4
* Using flat_map instead of map and flattenArun Agrawal2013-10-091-1/+1
* adding a test to demonstrate how to use STI subclasses on the far rightAaron Patterson2013-09-271-0/+7
* push preloaded test up to the factory method so we can eliminateAaron Patterson2013-09-241-1/+0
* we can't sort by lhs since the middle records have difference classesAaron Patterson2013-09-231-1/+2
* adding a test for sti on middle tables with sorting on RHSAaron Patterson2013-09-231-1/+14
* hm:t preloading will respect order set on the RHS associationAaron Patterson2013-09-231-0/+15
* fix deleting join models with no pkAaron Patterson2013-09-111-5/+47
* hm:t join tables may not have a primary keyAaron Patterson2013-09-061-0/+18
* adding a hm:t test for singleton ar objectsAaron Patterson2013-09-031-0/+27
* 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
* 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
* | add a test for concat on hm:t associationsAaron Patterson2013-08-021-0/+7
|/
* 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
* Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-301-0/+34
* has_many through obeys order on through associationNeeraj Singh2013-04-041-1/+7
* Prevent Relation#merge from collapsing wheres on the RHSJon Leighton2013-01-271-0/+7
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-1/+1
* User Rails 4 find_byrobertomiranda2013-01-181-1/+1
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-1/+1
* Fix for has_many_through counter_cache bugMatthew Robertson2012-12-141-0/+11
* Merge and add tests related to 5215Vipul A M2012-11-121-6/+13
* remove duplicated require statements in AR test casesYves Senn2012-10-091-1/+0
* Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-051-1/+1
* Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-051-1/+1
* Count returns 0 without querying if parent is not savedFrancesco Rodriguez2012-10-031-0/+6
* Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-181-15/+0
|\
| * Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-161-15/+0
* | Fix collection= on hm:t join models when unsavedErnie Miller2012-09-171-0/+5
|/
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-2/+2
* Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-241-2/+2