aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Use an `Attribute` object to represent a bind valueSean Griffin2015-01-271-1/+1
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-273-13/+8
* Test association was eager loaded, rather than reaching into internalsSean Griffin2015-01-261-2/+2
* Remove all references to `where_values` in testsSean Griffin2015-01-253-11/+11
* Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-231-1/+1
* Merge pull request #18458 from brainopia/fix_after_commit_for_fixturesJeremy Kemper2015-01-201-1/+0
|\
| * after_commit runs after transactions with non-joinable parentsbrainopia2015-01-161-1/+0
* | tests, use `drop_table if_exists: true` in our test suite.Yves Senn2015-01-201-2/+2
|/
* remove deprecated support to preload instance-dependent associaitons.Yves Senn2015-01-051-22/+9
* Remove deprecated automatic counter caches on `has_many :through`Rafael Mendonça França2015-01-041-26/+0
* Merge pull request #15309 from iantropov/issue_12698_build_throughRafael Mendonça França2015-01-021-1/+10
|\
| * Add setting of FK for throgh associations while buildingIvan Antropov2014-05-251-1/+10
* | Remove support to activerecord-deprecated_findersRafael Mendonça França2015-01-021-2/+1
* | Merge pull request #15746 from amccloud/auto-inverse_of-in-moduleRafael Mendonça França2015-01-021-0/+12
|\ \
| * | Fixed automatic inverse_of for models nested in moduleAndrew McCloud2014-06-151-0/+12
* | | Fix warning: assigned but unused variable - postRyuta Kamizono2014-12-311-1/+1
* | | Fix error message when trying to create an associated recordRafael Mendonça França2014-12-301-0/+8
* | | Share foreign_key_present? implementation in _has_ associationsbrainopia2014-12-312-35/+57
* | | `eager_load` preserves readonly flag for associationsTakashi Kokubun2014-12-301-1/+4
* | | Add foreign_type option for polymorphic has_one and has_many.Ulisses Almeida + Kassio Borges2014-12-082-0/+21
* | | Merge pull request #17889 from mxie/mx-fix-nonexistent-typoSean Griffin2014-12-023-4/+4
|\ \ \
| * | | Fix "nonexistent" typo in testsMelissa Xie2014-12-023-4/+4
* | | | Require missing association in testSean Griffin2014-12-021-0/+1
|/ / /
* | | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-297-20/+18
* | | Adds preloaded_records method to NullPreloaderThorsten Ball2014-11-281-0/+8
* | | Fix a bug where AR::RecordNotSaved loses error messagesYuki Nishijima2014-11-273-9/+28
* | | Setting an association replaces records with the same id in memorySean Griffin2014-11-251-0/+64
* | | Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-211-0/+6
* | | Merge pull request #17575 from shikshachauhan/make-habtm-consistentRafael Mendonça França2014-11-191-0/+10
|\ \ \
| * | | Allow habtm class_name option to be consistent with other associationsshiksha2014-11-131-0/+10
* | | | Build fix when running in isolationArun Agrawal2014-11-147-0/+7
* | | | Merge pull request #11694 from Empact/association-bind-values-not-updated-on-...Rafael Mendonça França2014-11-101-0/+7
|\ \ \ \ | |/ / / |/| | |
| * | | Fix that a collection proxy could be cached before the save of the owner, res...Ben Woosley2014-10-031-0/+7
* | | | Ensure HABTM relationships produce valid class names (Fixes #17119)Sammy Larbi2014-11-091-1/+10
* | | | default scopes should break the cache on singulur_association.alfa-jpn2014-11-081-0/+29
* | | | default scopes should break the cache on has_many.Aaron Patterson2014-11-071-0/+26
* | | | copy reflection_scopes’s unscoped value when building scope for preloading,...Byron Bischoff2014-10-221-0/+8
* | | | Raise an error for has_one associations which try to go :through a polymorphi...Tu Hoang2014-10-151-0/+6
* | | | 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