aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
| * | | | Fix error when using `with_options` with lambda.Lauro Caetano2014-04-031-0/+9
| * | | | Merge pull request #14546 from eileencodes/fix_delete_all_to_not_use_IN_state...Aaron Patterson2014-03-311-1/+16
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | add test to compare sql statements in delete_all queryeileencodes2014-03-311-1/+16
| * | | | Simplify Preloader#grouped_records code.thedarkone2014-03-301-4/+4
| * | | | Fix polymorphic preloads on NOT NULL _type columns.thedarkone2014-03-301-0/+11
| |/ / /
| * | | Merge pull request #14154 from al2o3cr/issue12770Aaron Patterson2014-03-271-0/+9
| |\ \ \
| | * | | Pass a base relation to build_default_scope when joiningMatt Jones2014-02-211-0/+9
| * | | | Use rails convetionsRafael Mendonça França2014-03-251-2/+2
| * | | | Merge pull request #14390 from huoxito/true-touchRafael Mendonça França2014-03-251-0/+11
| |\ \ \ \
| | * | | | Still touch associations when theres no timestampWashington Luiz2014-03-141-0/+11
* | | | | | Merge branch 'master' into adequaterecordAaron Patterson2014-03-255-3/+48
|\| | | | |
| * | | | | Add counter cache test for class_nameArthur Neves2014-03-171-0/+11
| * | | | | `where.not` adds `references` for `includes`.Yves Senn2014-03-171-0/+10
| * | | | | Merge pull request #14380 from tgxworld/use_teardown_helper_method_in_activer...Yves Senn2014-03-152-3/+3
| |\ \ \ \ \
| | * | | | | Use teardown helper method.Guo Xiang Tan2014-03-142-3/+3
| | |/ / / /
| * / / / / Obey `validate: false` option for habtmCarlos Antonio da Silva2014-03-141-0/+24
| |/ / / /