aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/method_scoping_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-6/+6
* Remove Relation#& alias for Relation#mergeErnie Miller2011-02-121-1/+1
* stop calling deprecated apisAaron Patterson2010-12-261-4/+4
* adding tests for #5234 and #5184. Tests were from Akira Matsuda. Thanks Akira!Aaron Patterson2010-10-301-0/+6
* Set attributes properly for model built from association with conditions [#55...Marcelo Giorgi2010-09-281-1/+1
* specific number of spaces should not be enforcedAaron Patterson2010-09-101-1/+1
* code gardening: we have assert_(nil|blank|present), more concise, with better...Xavier Noria2010-08-171-1/+1
* do not rely on arel class structureAaron Patterson2010-08-061-0/+7
* removing unused models from testsSubba Rao Pasupuleti2010-07-211-2/+1
* Add scoping and unscoped as the syntax to replace the old with_scope and with...José Valim2010-06-291-202/+5
* with_exclusive_scope does not work properly if ARel is passed. It does work n...Neeraj Singh2010-06-291-0/+6
* Support for multiple selects addedNeeraj Singh and Santiago Pastorino2010-06-251-3/+5
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-1/+1
* Remove Model.clear_default_scopePratik Naik2010-05-181-12/+0
* Modified default_scope to merge with any pre-existing default_scopeDavid Chelimsky + Brian Tatnall2010-05-151-2/+29
* cleaning up a bunch of parse time warnings in AR [#4186 state:resolved]Aaron Patterson2010-03-151-1/+1
* Fix a bug where default_scope was overriding attributes given on model initia...Henry Hsu2010-02-261-0/+10
* Make default_scope work with RelationsPratik Naik2010-01-231-1/+7
* Remove Relation#where_clausePratik Naik2010-01-191-4/+4
* Get rid of Relation#order_clausesPratik Naik2010-01-181-3/+3
* Make merging of order values consistentPratik Naik2010-01-171-4/+4
* Make scopes use relations under the hoodPratik Naik2010-01-161-33/+32
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-87/+87
* Moved relation's test to relation_test.Emilio Tagua2009-10-051-2/+2
* Merge commit 'rails/master'Emilio Tagua2009-08-081-0/+1
|\
| * Oracle generates different ORDER BY fragmentRaimonds Simanovskis2009-08-061-1/+2
* | Introduced ActiveRecord::Relation, a layer between an ARel relation and an AR...Emilio Tagua2009-07-211-2/+2
* | Merge commit 'rails/master'Emilio Tagua2009-05-181-0/+10
|\|
| * Make sure default_scope#create checks for options[:conditions] [#2181 state:r...Pratik Naik2009-05-181-0/+10
* | Merge commit 'rails/master'Emilio Tagua2009-05-021-3/+3
|\|
| * Default scope :order should be overridden by named scopes.Alexander Podgorbunsky2009-05-011-3/+3
* | construct_finder_sql now use ArelEmilio Tagua2009-04-241-1/+1
|/
* Fix models load order to be able to run unit tests.Emilio Tagua2009-04-231-1/+1
* Don't duplicate :order from scope and options, it makes mysql do extra workJeremy Kemper2009-03-101-2/+4
* Ensure nested with_scope merges conditions inside out [#2193 state:resolved]Manfred Stienstra2009-03-101-5/+33
* update the default scope test to take the model's default scope into accountrick2009-02-251-1/+1
* Ensure whitespaces are stripped when merging string joins. [#1297 state:resol...Filip H.F. "FiXato" Slagter2009-01-281-0/+10
* Ensure Model#last doesn't affects order for another finders inside the same s...Daniel Luz2008-12-211-0/+18
* Fix default_scope to work in combination with named scopesTom Stuart2008-11-171-3/+9
* Added default_scope to Base [#1381 state:committed] (Paweł Kondzior)Pratik Naik2008-11-161-0/+61
* Revert "Added default_scope to Base [#1381 state:committed] (Paweł Kondzior)...David Heinemeier Hansson2008-11-161-38/+0
* Added default_scope to Base [#1381 state:committed] (Paweł Kondzior)David Heinemeier Hansson2008-11-161-0/+38
* Allowed passing arrays-of-strings to :join everywhere. Merge duplicate join s...Pivotal Labs2008-09-241-0/+30
* Merge scoped :joins together instead of overwriting them. May expose scoping ...Andrew White2008-08-281-2/+79
* Added missing fixtures for tests which fail to run independently if run after...Tarmo Tänav2008-08-041-1/+1
* Fix column collision with named_scope and :joins. [#46 state:resolved]Mark Catley2008-06-221-0/+10
* Ensure :select passed in options overrides the one from the scope. [#239 stat...Andrew White2008-05-291-0/+16
* Fix merging blank conditions. Closes #10764 [mcmire, cavalle]Jeremy Kemper2008-03-231-2/+22
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-211-7/+7
* Fix pathsJeremy Kemper2008-01-181-5/+5