aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #8568 from inossidabile/fix-in_clause_lengthJon Leighton2013-01-111-7/+7
|\
| * Eager loading made to use relation's in_clause_length instead of host's one (...Boris Staal2012-12-201-7/+7
* | Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-3/+4
|/
* Do not instantiate intermediate AR objects when eager loading.Yves Senn2012-12-041-0/+6
* Remove not used variable warnignsCarlos Antonio da Silva2012-12-011-4/+4
* Add a test to make sure preloading properly merges association and default sc...Pratik Naik2012-08-281-0/+12
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-114/+114
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-76/+76
* No need to cache table metadata in advance now that #6683 was merged.Rafael Mendonça França2012-06-111-11/+0
* Merge pull request #6492 from pmahoney/fair-connection-pool2Rafael Mendonça França2012-06-111-0/+4
|\
| * Cache metadata in advance to avoid extra sql statements while testing.Yasuo Honda2012-05-251-0/+7
* | Fix fragile #assert_queries implementation and usages.Steve Jorgensen2012-06-091-2/+0
|/
* CollectionProxy < RelationJon Leighton2012-05-111-1/+1
* remove deprecated callsJon Leighton2012-04-271-46/+46
* more deprecations manually fixedJon Leighton2012-04-271-31/+31
* find and replace deprecated keysJon Leighton2012-04-271-63/+63
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-79/+79
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-2/+2
* remove deprecate #calculate callsJon Leighton2012-04-261-2/+2
* remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-33/+0
* fix testsJon Leighton2012-04-131-62/+61
* Adds test to check that circular preloading does not modify Model.unscoped (a...Benedikt Deicke2012-04-031-0/+6
* Fix #5667. Preloading should ignore scoping.Jon Leighton2012-03-301-0/+11
* Remove IdentityMapCarlos Antonio da Silva2012-03-131-10/+10
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-27/+94
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-42/+42
* Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-291-42/+42
* More tests deep including through habtmArun Agrawal2011-12-211-0/+7
* reintroduce patch from #726 to handle nested eager loading via associationsJay Levitt2011-11-301-0/+35
* ActiveRecord: Fix eager loading so that giving a blank order clause generates...Elliot Winkler2011-07-181-0/+12
* Foo.joins(:bar).includes(:bar) should result in a single query with :bar as a...Jon Leighton2011-07-091-0/+8
* 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
* fixing test for mysql2Aaron Patterson2011-05-271-5/+2
* adding a test for #1322Aaron Patterson2011-05-261-0/+15
* Merge pull request #1254 from pixeltrix/ignore-includes-in-through-scopeJon Leighton2011-05-241-0/+6
|\
| * Ignore :includes on through associationsAndrew White2011-05-241-0/+6
* | Failing tests for #1233.Andrew White2011-05-241-0/+40
|/
* fixing more test warnings in 1.9.3Aaron Patterson2011-04-301-2/+2
* Added test case and fix for proper eager loading associationsPavel Forkert2011-04-221-0/+10
* When preloading has_and_belongs_to_many associations, we should only instanti...Jon Leighton2011-03-041-0/+16
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-30/+84
|\
| * Rewrote AssociationPreload.Jon Leighton2011-02-281-15/+14
| * Run tests without IdentityMap when IM=false is given.Emilio Tagua2011-02-151-7/+7
| * Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-8/+48
| |\
| | * Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-141-0/+8
| | * the connection pool caches table_exists? callsAaron Patterson2011-02-071-0/+2
| | * When preloading a belongs_to, the target should still be set (to nil) if ther...Jon Leighton2011-01-031-0/+9
| | * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-3/+17
| | * Some basic tests for the :foreign_type option on belongs_to, which was previo...Jon Leighton2011-01-031-1/+12