aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* measure record instantiation time in AS::NotificationsAaron Patterson2014-10-131-0/+36
* Replace drop sql statement to drop_table methodYasuo Honda2014-09-111-2/+2
* Do not mark object as persisted after an association is savedRafael Mendonça França2014-09-052-19/+14
* Fixed regression with referencing polymorphic assoc in eager-loadGodfrey Chan2014-09-051-0/+10
* Remove 'if exists' from drop table statement then use `table_exists?`Yasuo Honda2014-09-031-2/+2
* Ignore SCHEMA queries when asserting no queriesAkira Matsuda2014-08-283-12/+12
* Ignore SCHEMA queries in some habtm testsAkira Matsuda2014-08-141-4/+4
* Make sure assertion passes for postgresql.Zuhao Wan2014-07-221-1/+1
* Merge pull request #15266 from dv/use_counter_cache_for_empty_callGodfrey Chan2014-07-151-0/+7
|\
| * If a counter_cache exists, use it for #empty?David Verhasselt2014-06-101-0/+7
* | Include fixtures to prevent foreign key violation.Zuhao Wan2014-07-091-0/+2
* | Warm up cache to prevent assertion failure.Zuhao Wan2014-07-081-0/+1
* | Re-enable foriegn key tests on MySQLGodfrey Chan2014-07-051-2/+0
* | Add a `required` option to singular associationsSean Griffin2014-07-041-0/+82
* | Do not change the global state of the test suiteRafael Mendonça França2014-06-271-18/+1
* | Improve tests to use add_foreign_key DSLRafael Mendonça França2014-06-271-18/+11
* | MySQL doesn't works with foreign keyRafael Mendonça França2014-06-271-3/+2
* | Merge pull request #12450 from iantropov/masterRafael Mendonça França2014-06-271-0/+36
|\ \
| * | Fix bug, when ':dependent => :destroy' option violates foreign key constraint...Ivan Antropov2013-10-261-0/+36
* | | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-266-25/+52
* | | `preload` preserves readonly flag on associations. #15853Yves Senn2014-06-251-0/+29
* | | 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
* | | | Merge pull request #15747 from sgrif/sg-trolololol-this-is-so-brokenRafael Mendonça França2014-06-191-0/+30
|\ \ \ \
| * | | | Always update counter caches in memory when adding recordsSean Griffin2014-06-161-0/+30
| |/ / /
* | | | Merge pull request #15772 from nbudin/sti_through_bugRafael Mendonça França2014-06-191-0/+8
|\ \ \ \
| * | | | Don't include inheritance column in the through_scope_attributesNat Budin2014-06-171-0/+8
| |/ / /
* | | | Use a better test descriptionRafael Mendonça França2014-06-191-1/+1
* | | | Fix has_and_belongs_to_many in a namespaced model pointing to a non namespace...Rafael Mendonça França2014-06-191-0/+9
|/ / /
* | | 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