| Commit message (Expand) | Author | Age | Files | Lines |
* | Fix default scope thread safety. Thanks @thedarkone for reporting. | Jon Leighton | 2011-08-13 | 1 | -0/+18 |
* | Make it the responsibility of the connection to hold onto an ARel visitor for... | Jon Leighton | 2011-08-08 | 1 | -1/+1 |
* | Add more test cases | Oriol Gual | 2011-06-28 | 1 | -0/+8 |
* | Add failing test | Oriol Gual | 2011-06-28 | 1 | -0/+4 |
* | default create_with_value to a hash so we can eliminate conditionals, add tes... | Aaron Patterson | 2011-06-27 | 1 | -0/+7 |
* | Apply the default scope earlier when doing calculations. Fixes #1682. | Jon Leighton | 2011-06-23 | 1 | -0/+7 |
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
* | Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES... | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
* | Fix issue #1272 | Brian Mathiyakom | 2011-06-01 | 1 | -0/+15 |
* | Ensure that calculations properly override the select value even if it's set ... | Jon Leighton | 2011-05-31 | 1 | -0/+5 |
* | Failing test for aggregating on default_scope with select | Erik Fonselius | 2011-05-31 | 1 | -0/+4 |
* | Fix infinite recursion where a lazy default scope references a scope. Fixes #... | Jon Leighton | 2011-05-25 | 1 | -0/+8 |
* | Ensure that ORDER BY clauses from default scopes are not included in calculat... | Jon Leighton | 2011-05-08 | 1 | -0/+4 |
* | removed the default_scope deprecations and updated the docs and tests to refl... | Josh Kalderimis | 2011-04-28 | 1 | -14/+6 |
* | Bring back support for passing a callable object to the default_scope macro. ... | Jon Leighton | 2011-04-18 | 1 | -0/+12 |
* | Un-deprecate using 'default_scope' as a macro, but if you are calling the mac... | Jon Leighton | 2011-04-18 | 1 | -164/+17 |
* | Evaluate default scopes at the last possible moment in order to avoid problem... | Jon Leighton | 2011-04-12 | 1 | -6/+11 |
* | Deprecated support for passing hashes and relations to default_scope, in favo... | Jon Leighton | 2011-04-12 | 1 | -67/+164 |
* | Bring #reorder back | Sebastian Martinez | 2011-03-28 | 1 | -2/+2 |
* | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2011-03-04 | 1 | -3/+21 |
|\ |
|
| * | Remove Relation#& alias for Relation#merge | Ernie Miller | 2011-02-12 | 1 | -2/+2 |
| * | Construct an actual ActiveRecord::Relation object for the association scope, ... | Jon Leighton | 2011-01-07 | 1 | -1/+2 |
| * | Make Relation#create_with always merge rather than overwrite, not just when m... | Jon Leighton | 2011-01-03 | 1 | -0/+10 |
| * | Specify the STI type condition using SQL IN rather than a whole load of ORs. ... | Jon Leighton | 2010-12-31 | 1 | -0/+7 |
| * | stop calling deprecated apis | Aaron Patterson | 2010-12-26 | 1 | -1/+1 |
| * | Replace rudimentary named_scope with scope. [#6052 state:resolved] | Pavel Gorbokon | 2010-12-15 | 1 | -1/+1 |
* | | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-12-12 | 1 | -0/+16 |
|\| |
|
| * | adding more tests surrounding where values hash | Aaron Patterson | 2010-11-29 | 1 | -0/+11 |
| * | testing attributes applied by default_scope | Aaron Patterson | 2010-11-29 | 1 | -0/+5 |
* | | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-11-17 | 1 | -2/+0 |
|\| |
|
| * | removing many unused variables | Aaron Patterson | 2010-11-16 | 1 | -2/+0 |
* | | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2010-10-28 | 1 | -0/+46 |
|\| |
|
| * | default scope merge where clauses [#5488 state:resolved] | Jan | 2010-10-20 | 1 | -0/+17 |
| * | default scope can accept any object that responds to #call | Aaron Patterson | 2010-10-19 | 1 | -0/+18 |
| * | Allow default_scope to accept a Proc. | Tim Morgan | 2010-10-19 | 1 | -0/+11 |
|/ |
|
* | reorder removed in favor of except(:order).order | Santiago Pastorino | 2010-10-11 | 1 | -8/+2 |
* | Delegate ActiveRecord::Base.offset to scoped methods (analogous to limit) [#5... | Marcelo Giorgi | 2010-09-24 | 1 | -0/+6 |
* | removing nonsensical tests, limit now actually adds a limit | Aaron Patterson | 2010-09-15 | 1 | -1/+1 |
* | failing test for reorder overriding default_scope | Nick Ragaz | 2010-09-05 | 1 | -0/+6 |
* | order should always be concatenated. | Neeraj Singh | 2010-09-05 | 1 | -2/+2 |
* | Change relation merging to always append select, group and order values | Pratik Naik | 2010-08-31 | 1 | -6/+7 |
* | code gardening: we have assert_(nil|blank|present), more concise, with better... | Xavier Noria | 2010-08-17 | 1 | -1/+1 |
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed '... | Santiago Pastorino | 2010-08-14 | 1 | -2/+2 |
* | Ensure default_scope can be overwriten by association conditions. | José Valim | 2010-07-21 | 1 | -0/+5 |
* | eagerly loaded association records should respect default_scope [#2931 state:... | Subba Rao Pasupuleti | 2010-07-21 | 1 | -2/+16 |
* | Added reorder delegation for ActiveRecord::Base(to be able to overwrite the d... | Vitalii Khustochka | 2010-07-13 | 1 | -0/+6 |
* | Add scoping and unscoped as the syntax to replace the old with_scope and with... | José Valim | 2010-06-29 | 1 | -0/+396 |