aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/topic.rb
Commit message (Collapse)AuthorAgeFilesLines
* Returning nil from named scope lambda is equivalent to an empty hash [#1773 ↵Elijah Miller2009-03-121-1/+3
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure belongs_to association with a counter cache in name spaced model ↵Adam Cooper2009-03-061-0/+6
| | | | | | works [#1678 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Methods invoked within named scope Procs should respect the scope stack. ↵jvoorhis2009-03-061-0/+2
| | | | | | [#1267 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make sure inner scope conditions get a preference over the outer onesPratik Naik2009-01-241-0/+2
|
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure NamedScope#build/create/create!/new works as expected when named ↵Daniel Guettler2008-07-091-0/+2
| | | | | | 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/+1
|
* Fixed that scopes defined with a string name could not be composedTarmo Tänav2008-06-221-0/+1
|
* Change tests against all scope to base scope as all is now used as a finder ↵David Heinemeier Hansson2008-04-301-0/+1
| | | | alias
* Ruby 1.9 compat: work around YAML serialization error exposed by validations ↵Jeremy Kemper2008-04-011-3/+2
| | | | | | tests git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-241-0/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* move assets and modelsJeremy Kemper2008-01-181-0/+37
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de