aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #15343 from dontfidget/fix_polymorphic_automatic_inverse_ofRafael Mendonça França2014-06-131-0/+11
|\
| * use name specified by 'as' for automatic inverse association to avoid reflect...Andrew S. Brown2014-06-101-0/+11
* | Through associations should set both parent ids on join modelsSean Griffin2014-06-132-0/+27
* | Fix inverse associations testLeandro Facchinetti2014-06-041-1/+1
* | Fix regression on eager loading association based on SQL query ratherLauro Caetano2014-06-031-0/+4
* | just use `assert`Aaron Patterson2014-06-021-1/+1
* | Merge pull request #14834 from al2o3cr/issue14155Aaron Patterson2014-05-271-0/+10
|\ \
| * | WIP: pass existing joins to construct_join_dependencyMatt Jones2014-05-161-0/+10
* | | Fix redefine a has_and_belongs_to_many inside inherited classArthur Neves2014-05-271-1/+15
* | | Fix syntax error from 5eae77cZachary Scott2014-05-261-1/+1
* | | Move test to the proper fileRafael Mendonça França2014-05-261-0/+7
* | | Add test case for b13d260Rafael Mendonça França2014-05-261-0/+9
| |/ |/|
* | Fix polymorphic eager load with foreign_key as String.Lauro Caetano2014-05-201-0/+13
* | Prevented belongs_to: touch propagating up if there are no changes being savedBrock Trappitt2014-05-211-0/+7
* | Remove dead test code for unsupported adaptersSean Griffin2014-05-171-17/+3
|/
* Fix how to compute class name on habtm namespaced.Kassio Borges2014-05-131-0/+12
* deprecate, join, preload, eager load of instance dependent associations.Yves Senn2014-05-101-4/+27
* test, regression test for has_many with instance dependent scope.Yves Senn2014-05-091-0/+10
* set a constant for the "anonymous" habtm model fixes #15022Aaron Patterson2014-05-081-0/+6
* Fixed HABTM's CollectionAssociation sizeFred Wu2014-05-081-0/+18
* Remove duplicated fixture additionCarlos Antonio da Silva2014-05-031-1/+1
* Refactor test to not care about the specific result of valid?Carlos Antonio da Silva2014-05-031-3/+4
* Merge pull request #14924 from eric-chahin/issue_13854Matthew Draper2014-05-031-0/+10
|\
| * Fixed custom validation context bug where childEric Chahin2014-05-011-0/+10
* | push up bind params on "simple" subquery calculationsAaron Patterson2014-05-021-1/+7
* | Remove unused variableRafael Mendonça França2014-05-011-1/+1
|/
* add test to check that loaded and non laoded are the sameeileencodes2014-04-281-0/+13
* clear shouldnt fire callbacks so remove order testeileencodes2014-04-281-3/+0
* rewrite test to correctly test clear methodeileencodes2014-04-281-2/+2
* Merge pull request #14853 from kassio/kb-fix-custom-join-table-habtmYves Senn2014-04-251-0/+5
|\
| * Fix custom join_table name on habtm reflectionsKassio Borges2014-04-251-0/+5
* | Merge branch 'master' into adequaterecordAaron Patterson2014-04-251-4/+16
|\|
| * 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 branch 'master' into adequaterecordAaron Patterson2014-04-143-4/+45
|\| |
| * | Merge pull request #14735 from byroot/idempotent-counter-cachesAaron Patterson2014-04-141-0/+21
| |\ \
| | * | Write the failing test case for concurrent counter cacheJean Boussier2014-04-131-0/+21
| * | | Just call read_attribute, no need to use `send`.Lauro Caetano2014-04-141-3/+3
| |/ /
| * | :scissors:Rafael Mendonça França2014-04-111-2/+2
| * | Merge pull request #14711 from swoker/activerecord_fix_aggregate_methods_with...Rafael Mendonça França2014-04-111-0/+8
| |\ \
| | * | fix exception on polymorphic associations with predicatesSimon Woker2014-04-111-0/+8
| * | | 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
* | | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-074-5/+68
|\| | |
| * | | Fix the test defining the models in the right placeRafael Mendonça França2014-04-041-15/+5
| * | | Merge pull request #11650 from prathamesh-sonpatki/renameRafael Mendonça França2014-04-041-0/+18
| |\ \ \
| | * | | [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-0/+18
| * | | | Remove unused variableRafael Mendonça França2014-04-041-1/+1