aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/named_scope_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ensure NamedScope#build/create/create!/new works as expected when named ↵Daniel Guettler2008-07-091-0/+26
| | | | | | scope has hash conditions. [Daniel Guettler, Pratik Naik] [#419 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add extra hash conditions tests for named_scopePratik Naik2008-06-281-0/+4
|
* Fix column collision with named_scope and :joins. [#46 state:resolved]Mark Catley2008-06-221-1/+20
|
* Fixed that scopes defined with a string name could not be composedTarmo Tänav2008-06-221-0/+6
|
* Ensure named_scope#empty? uses count query. [#262 state:resolved]Ryan Bates2008-05-281-0/+8
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add first/last methods to associations/named_scope. [#226 state:resolved]Ryan Bates2008-05-201-0/+28
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixing test for named_scope through a has_many :throughRodrigo Kochenburger2008-05-151-2/+2
| | | | | The test that checks if a has_many :through association has access to named_scope had a typo and didn't have the proper fixtures loaded. [#190 state:resolved]
* Add test for named_scope#proxy_options. [#97 state:resolved]Duncan Beevers2008-05-111-0/+6
|
* Change tests against all scope to base scope as all is now used as a finder ↵David Heinemeier Hansson2008-04-301-14/+14
| | | | alias
* Ruby 1.9 compat. Trailing whitespace.Jeremy Kemper2008-03-301-29/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-241-0/+116
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de