aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-3/+3
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-16/+16
* Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2017-08-261-6/+6
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* 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