aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-241-2/+2
* find and replace deprecated keysJon Leighton2012-04-271-2/+2
* allow AssociationProxy#scoped to take options so that API is the same as Base...Jon Leighton2012-04-271-0/+4
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-2/+2
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-1/+6
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-1/+1
* Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-291-1/+1
* don't change class definition in test caseJosh Susser2011-11-291-6/+0
* add test for super-ing to association methodsJosh Susser2011-11-151-2/+12
* association methods are now generated in modulesJosh Susser2011-11-151-0/+12
* Add a proxy_association method to association proxies, which can be called by...Jon Leighton2011-07-271-0/+5
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-12/+0