Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix named scope tests for sqlite3 [#1667 state:resolved] | Mike Gunderloy | 2008-12-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Introduce dynamic scopes for ActiveRecord: you can now use class methods ↵ | Yaroslav Markin | 2008-12-28 | 1 | -0/+20 |
| | | | | | | like scoped_by_user_name(user_name) and scoped_by_user_name_and_password(user_name, password) that will use the scoped method with attributes you supply. [#1648 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Allowed passing arrays-of-strings to :join everywhere. Merge duplicate join ↵ | Pivotal Labs | 2008-09-24 | 1 | -0/+6 |
| | | | | | | | strings to avoid table aliasing problems. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1077 state:committed] | ||||
* | Make NamedScope#size behave identically to AssociationCollection#size. [#933 ↵ | Tom Stuart | 2008-08-29 | 1 | -0/+15 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix parentheses warnings | Michael Koziarski | 2008-08-29 | 1 | -1/+1 |
| | |||||
* | Fix NamedScope regex so methods containing "an" get delegated to ↵ | Jan De Poorter | 2008-08-29 | 1 | -0/+4 |
| | | | | | | proxy_found. [#901 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix incorrect signature for NamedScope#respond_to? [#852 state:resolved] | Tom Lea | 2008-08-21 | 1 | -0/+5 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix generated WHERE IN query for named scopes. [#583 state:resolved] | Philip Hallstrom | 2008-08-21 | 1 | -0/+5 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Support find_all on named scopes. [#730 state:resolved] | Ryan Bates | 2008-08-21 | 1 | -0/+4 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix ActiveRecord::NamedScope::Scope#respond_to? [#818 state:resolved] | Eloy Duran | 2008-08-13 | 1 | -0/+6 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | fixing "test_any_should_not_load_results" so it doesn't depend on latest ↵ | Ryan Bates | 2008-08-08 | 1 | -3/+4 |
| | | | | | | version of Mocha Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Ensure NamedScope#any? uses COUNT query wherever possible. [#680 state:resolved] | Jan De Poorter | 2008-07-23 | 1 | -0/+22 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure NamedScope#build/create/create!/new works as expected when named ↵ | Daniel Guettler | 2008-07-09 | 1 | -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_scope | Pratik Naik | 2008-06-28 | 1 | -0/+4 |
| | |||||
* | Fix column collision with named_scope and :joins. [#46 state:resolved] | Mark Catley | 2008-06-22 | 1 | -1/+20 |
| | |||||
* | Fixed that scopes defined with a string name could not be composed | Tarmo Tänav | 2008-06-22 | 1 | -0/+6 |
| | |||||
* | Ensure named_scope#empty? uses count query. [#262 state:resolved] | Ryan Bates | 2008-05-28 | 1 | -0/+8 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add first/last methods to associations/named_scope. [#226 state:resolved] | Ryan Bates | 2008-05-20 | 1 | -0/+28 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fixing test for named_scope through a has_many :through | Rodrigo Kochenburger | 2008-05-15 | 1 | -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 Beevers | 2008-05-11 | 1 | -0/+6 |
| | |||||
* | Change tests against all scope to base scope as all is now used as a finder ↵ | David Heinemeier Hansson | 2008-04-30 | 1 | -14/+14 |
| | | | | alias | ||||
* | Ruby 1.9 compat. Trailing whitespace. | Jeremy Kemper | 2008-03-30 | 1 | -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 Olson | 2008-03-24 | 1 | -0/+116 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |