index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
test
/
cases
/
relation_scoping_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
%s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...
Jon Leighton
2012-04-27
1
-4
/
+4
*
remove calls to find(:first), find(:last) and find(:all)
Jon Leighton
2012-04-26
1
-4
/
+4
*
remove deprecated #first calls
Jon Leighton
2012-04-26
1
-2
/
+2
*
remove tests for #with_scope (it's now deprecated)
Jon Leighton
2012-04-25
1
-22
/
+0
*
Deprecate inferred JOINs with includes + SQL snippets.
Jon Leighton
2012-01-16
1
-1
/
+1
*
Revert "Deprecate implicit eager loading. Closes #950."
Jon Leighton
2012-01-16
1
-2
/
+2
*
Revert "Add return for 1.8.7"
Carlos Antonio da Silva
2012-01-06
1
-1
/
+1
*
correctly handle order calls after a reorder
Matt Jones + Scott Walker
2012-01-03
1
-0
/
+6
*
Deprecate implicit eager loading. Closes #950.
Jon Leighton
2011-12-29
1
-2
/
+2
*
Add return for 1.8.7
Jon Leighton
2011-12-14
1
-1
/
+1
*
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
[next]