aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation_scoping_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-16/+16
* AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-311-4/+4
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-10/+10
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-23/+23
* quarantine deprecated testsJon Leighton2012-05-181-13/+2
* Fix failing test on Oracle. Having a duplicated column specified in aMarcelo Silveira2012-05-071-1/+1
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-4/+4
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-4/+4
* remove deprecated #first callsJon Leighton2012-04-261-2/+2
* remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-22/+0
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-1/+1
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-2/+2
* Revert "Add return for 1.8.7"Carlos Antonio da Silva2012-01-061-1/+1
* correctly handle order calls after a reorderMatt Jones + Scott Walker2012-01-031-0/+6
* Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-291-2/+2
* Add return for 1.8.7Jon Leighton2011-12-141-1/+1
* Fix default scope thread safety. Thanks @thedarkone for reporting.Jon Leighton2011-08-131-0/+18
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-081-1/+1
* Add more test casesOriol Gual2011-06-281-0/+8
* Add failing testOriol Gual2011-06-281-0/+4
* default create_with_value to a hash so we can eliminate conditionals, add tes...Aaron Patterson2011-06-271-0/+7
* Apply the default scope earlier when doing calculations. Fixes #1682.Jon Leighton2011-06-231-0/+7
* 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
* Fix issue #1272Brian Mathiyakom2011-06-011-0/+15
* Ensure that calculations properly override the select value even if it's set ...Jon Leighton2011-05-311-0/+5
* Failing test for aggregating on default_scope with selectErik Fonselius2011-05-311-0/+4
* Fix infinite recursion where a lazy default scope references a scope. Fixes #...Jon Leighton2011-05-251-0/+8
* Ensure that ORDER BY clauses from default scopes are not included in calculat...Jon Leighton2011-05-081-0/+4
* removed the default_scope deprecations and updated the docs and tests to refl...Josh Kalderimis2011-04-281-14/+6
* Bring back support for passing a callable object to the default_scope macro. ...Jon Leighton2011-04-181-0/+12
* Un-deprecate using 'default_scope' as a macro, but if you are calling the mac...Jon Leighton2011-04-181-164/+17
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-121-6/+11
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-67/+164
* Bring #reorder backSebastian Martinez2011-03-281-2/+2
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-3/+21
|\
| * Remove Relation#& alias for Relation#mergeErnie Miller2011-02-121-2/+2
| * Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-1/+2
| * Make Relation#create_with always merge rather than overwrite, not just when m...Jon Leighton2011-01-031-0/+10
| * Specify the STI type condition using SQL IN rather than a whole load of ORs. ...Jon Leighton2010-12-311-0/+7
| * stop calling deprecated apisAaron Patterson2010-12-261-1/+1
| * Replace rudimentary named_scope with scope. [#6052 state:resolved]Pavel Gorbokon2010-12-151-1/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-0/+16
|\|
| * adding more tests surrounding where values hashAaron Patterson2010-11-291-0/+11
| * testing attributes applied by default_scopeAaron Patterson2010-11-291-0/+5
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-2/+0
|\|
| * removing many unused variablesAaron Patterson2010-11-161-2/+0
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-281-0/+46
|\|
| * default scope merge where clauses [#5488 state:resolved]Jan2010-10-201-0/+17
| * default scope can accept any object that responds to #callAaron Patterson2010-10-191-0/+18