| Commit message (Expand) | Author | Age | Files | Lines |
* | Raise an ArgumentError if user passing less number of argument in the dynamic... | Prem Sichanugrist | 2011-07-17 | 1 | -0/+15 |
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
* | Merge pull request #1462 from arunagw/test_added_for_namedscope | José Valim | 2011-06-05 | 1 | -0/+8 |
|\ |
|
| * | Test added for namedscope target. | Arun Agrawal | 2011-06-03 | 1 | -0/+8 |
* | | Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES... | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
|/ |
|
* | Modified NamedScopeTest to use CollectionAssociation. | Michael Ebens | 2011-05-11 | 1 | -1/+1 |
* | Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the... | Jon Leighton | 2011-04-17 | 1 | -6/+0 |
* | Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c... | Jon Leighton | 2011-04-12 | 1 | -0/+6 |
* | ActiveRecord::Base.scopes hash is not needed | Jon Leighton | 2011-04-12 | 1 | -11/+0 |
* | Removing the scope-caching which happens on association proxies, because the ... | Jon Leighton | 2011-04-12 | 1 | -10/+15 |
* | Delegate first!, last!, any? and many? to scoped | Andrew White | 2011-03-29 | 1 | -1/+16 |
* | fixes: ActiveRecord::Base.scopes includes all scopes defined in all subclasses | Eric Allam | 2011-02-24 | 1 | -0/+4 |
* | Split AssociationProxy into an Association class (and subclasses) which manag... | Jon Leighton | 2011-02-18 | 1 | -1/+1 |
* | Replace rudimentary named_scope with scope. [#6052 state:resolved] | Pavel Gorbokon | 2010-12-15 | 1 | -21/+21 |
* | Models should be equals even after destroyed | Santiago Pastorino | 2010-11-16 | 1 | -1/+1 |
* | scopes can take an object that responds to `call` | Aaron Patterson | 2010-10-19 | 1 | -0/+6 |
* | Cleanup deprecation warnings in active record | Carlos Antonio da Silva | 2010-09-06 | 1 | -4/+0 |
* | code gardening: we have assert_(nil|blank|present), more concise, with better... | Xavier Noria | 2010-08-17 | 1 | -2/+2 |
* | Dynamic finder method like scoped_by_* create methods so that | Neeraj Singh | 2010-08-03 | 1 | -0/+6 |
* | renaming tests by removing proxy_options from names | Neeraj Singh | 2010-07-21 | 1 | -5/+5 |
* | Push a failing test for issues [#4994] and [#5003]. | José Valim | 2010-06-29 | 1 | -0/+6 |
* | Add scoping and unscoped as the syntax to replace the old with_scope and with... | José Valim | 2010-06-29 | 1 | -2/+2 |
* | removes Array#random_element and backports Array#sample from Ruby 1.9, thanks... | Xavier Noria | 2010-06-05 | 1 | -1/+1 |
* | Properly cache association_collection#scopes calls having arguments | Pratik Naik | 2010-06-04 | 1 | -0/+13 |
* | Change on Array extension from rand => random_element [#4555 state:committed] | Santiago Pastorino | 2010-05-16 | 1 | -1/+1 |
* | STI should not ignore type condition while applying scopes from parent class ... | Neeraj Singh | 2010-05-15 | 1 | -0/+5 |
* | Reset named scope cache whenever the @target is reset | Pratik Naik | 2010-04-07 | 1 | -0/+10 |
* | Memoize association.named_scope calls | Pratik Naik | 2010-04-05 | 1 | -0/+9 |
* | Named scopes shouldn't test equality using to_a if it's not an Array, this wa... | Emilio Tagua | 2010-03-30 | 1 | -3/+9 |
* | defining a named_scope which overwrites an existing method is now allowed we ... | Matthew Rudy Jacobs | 2010-03-28 | 1 | -2/+15 |
* | cleaning up a bunch of parse time warnings in AR [#4186 state:resolved] | Aaron Patterson | 2010-03-15 | 1 | -2/+2 |
* | Allow calling class methods on a Relation | Pratik Naik | 2010-01-22 | 1 | -0/+9 |
* | Give preference to to_a over arel from Relation#method_missing | Pratik Naik | 2010-01-19 | 1 | -0/+6 |
* | Rename named_scope to scope | Pratik Naik | 2010-01-18 | 1 | -1/+5 |
* | Inherit named scope class Scope from Relation | Pratik Naik | 2010-01-18 | 1 | -11/+6 |
* | Ensure that Scope#proxy_scope is always klass. Rename proxy_scope to klass too. | Pratik Naik | 2010-01-18 | 1 | -4/+4 |
* | Make sure named_scope names are not used as method names already | Pratik Naik | 2010-01-17 | 1 | -5/+11 |
* | Add new finder methods to association collection. | Pratik Naik | 2009-12-27 | 1 | -2/+2 |
* | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 1 | -0/+6 |
|\ |
|
| * | Prevent overwriting of table name in merging SQL conditions [#2949 state:reso... | Tristan Dunn | 2009-08-10 | 1 | -0/+6 |
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-08 | 1 | -1/+2 |
|\| |
|
| * | always sort lists by id before comparison to avoid errors because of differen... | Raimonds Simanovskis | 2009-08-06 | 1 | -1/+2 |
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-31 | 1 | -4/+0 |
|\| |
|
| * | Revert "Methods invoked within named scope Procs should respect the scope sta... | Jeremy Kemper | 2009-07-29 | 1 | -4/+0 |
* | | Introduced ActiveRecord::Relation, a layer between an ARel relation and an AR... | Emilio Tagua | 2009-07-21 | 1 | -4/+4 |
|/ |
|
* | Add missing models and fixtures [#2673 state:resolved] | Emilio Tagua | 2009-05-19 | 1 | -1/+3 |
* | Implement #many? for NamedScope and AssociationCollection using #size [#1500 ... | Chris Kampmeier | 2009-05-17 | 1 | -0/+34 |
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -1/+2 |
* | Returning nil from named scope lambda is equivalent to an empty hash [#1773 s... | Elijah Miller | 2009-03-12 | 1 | -0/+6 |
* | Ensure ActiveRecord::Base.find_in_batches fires doesnt fire an extra query un... | Pratik Naik | 2009-03-11 | 1 | -1/+1 |