aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add an extra test showing why collections are cachedMatthew Draper2017-05-301-0/+7
* Cache the association proxy objectRyuta Kamizono2017-05-281-0/+5
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-2/+2
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-2/+2
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-2/+2
* Merge pull request #25877 from kamipo/delegate_to_scope_rather_than_mergeMatthew Draper2017-02-211-5/+0
|\
| * No need to cache collection proxies separatelyRyuta Kamizono2016-12-251-5/+0
* | Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-2/+2
* | Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-2/+2
|\ \
| * | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-2/+2
| |/
* / Remove deprecated force reload argument in association readersRafael Mendonça França2016-12-291-17/+4
|/
* improve error message when include assertions failMichael Grosser2016-09-161-3/+3
* Merge pull request #25976 from kamipo/pluck_uses_loaded_targetRafael França2016-08-171-0/+7
|\
| * `pluck` should use `records` (`load_target`) when `loaded?` is trueRyuta Kamizono2016-08-041-0/+7
* | Add three new rubocop rulesRafael Mendonça França2016-08-161-4/+4
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* | applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-32/+32
* | applies new string literal convention in activerecord/testXavier Noria2016-08-061-38/+38
|/
* Merge pull request #25941 from kamipo/finder_methods_uses_load_targetRafael França2016-07-281-0/+2
|\
| * `FinderMethods` uses `records` (`load_target`) when `loaded?` is trueRyuta Kamizono2016-07-281-0/+2
* | Merge pull request #25940 from kamipo/fix_collection_proxy_loadRafael França2016-07-281-0/+8
|\ \
| * | Fix to `CollectionProxy#load` does `load_target`Ryuta Kamizono2016-07-251-0/+8
| |/
* / `load_target` is a public methodRyuta Kamizono2016-07-231-2/+0
|/
* Remove unnecessary require in associations_test.rbakihiro172015-09-031-1/+0
* Removed duplicate require ‘models/computer’Ronak Jangir2015-08-261-1/+0
* Silence deprecation warning from force reloadPrem Sichanugrist2015-07-161-6/+11
* Do not test, document or use a private API methodRafael Mendonça França2015-02-201-22/+0
* Merge pull request #16989 from Empact/reload-cache-clearRafael Mendonça França2015-02-201-2/+2
|\
| * Isolate access to @associations_cache and @aggregations cache to the Associat...Ben Woosley2014-09-281-2/+2
* | `WhereClause#predicates` does not need to be publicSean Griffin2015-01-271-1/+1
* | Go through normal `where` logic in `AssociationScope`Sean Griffin2015-01-261-1/+1
* | Remove all references to `where_values` in testsSean Griffin2015-01-251-1/+1
* | Ensure `first!` and friends work on loaded associationsSean Griffin2014-12-291-0/+5
* | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* | Build fix when running in isolationArun Agrawal2014-11-141-0/+1
|/
* Allow included modules to override association methods.Yves Senn2014-09-091-0/+14
* always reorder bind parameters. fixes #15920Aaron Patterson2014-09-041-1/+8
* Calling reset on a collection association should unload the assocationKelsey Schlarman2014-01-211-0/+9
* do is_a? tests on assignment so runtime is fasterAaron Patterson2013-07-311-2/+2
* Fix typo in test name and documentationVipul A M2013-05-201-1/+1
* Set the inverse when association queries are refinedJon Leighton2013-05-101-0/+13
* Removed space and unused classAnupam Choudhury2013-04-061-1/+0
* Cache the association proxy objectJon Leighton2013-03-151-0/+5
* MOAR cleanups.Vipul A M2013-03-141-1/+1
* deal with `#append` and `#prepend` on association collections.Yves Senn2013-03-011-1/+13
* Ensure that associations have a symbol argument.Steve Klabnik2012-11-281-0/+8
* Add CollectionProxy#scopeJon Leighton2012-08-011-0/+7
* Deprecate Relation#all.Jon Leighton2012-07-271-1/+1
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-5/+5