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
/
relations_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Prevent Relation#merge from collapsing wheres on the RHS
Jon Leighton
2013-01-27
1
-0
/
+13
*
Added test case to prevent regression of chained, preloaded scopes. (#7490)
Chris Geihsler
2013-01-19
1
-0
/
+7
*
deprecate `assert_blank` and `assert_present`.
Yves Senn
2013-01-05
1
-2
/
+2
*
Revert "[#8743] Test case"
Rafael Mendonça França
2013-01-05
1
-5
/
+0
*
[#8743] Test case
Cédric FABIANSKI
2013-01-05
1
-0
/
+5
*
Use separate Relation subclasses for each AR class
Jon Leighton
2012-11-30
1
-0
/
+29
*
Ensure ordering to make the test pass with postgresql
Carlos Antonio da Silva
2012-11-18
1
-4
/
+5
*
Add test to ensure preloading works as expected with "select" and "includes".
Dieter Komendera
2012-11-18
1
-0
/
+13
*
loaded relations cannot be mutated by extending!
Juanjo Bazán
2012-10-28
1
-0
/
+9
*
nodoc the first_or_create methods and document alternatives
Jon Leighton
2012-10-19
1
-0
/
+10
*
Add Relation#find_or_create_by and friends
Jon Leighton
2012-10-19
1
-0
/
+23
*
learn ActiveRecord::QueryMethods#order work with hash arguments
Tima Maslyuchenko
2012-10-12
1
-0
/
+16
*
remove duplicated require statements in AR test cases
Yves Senn
2012-10-09
1
-1
/
+0
*
Model.select takes a variable list of arguments.
Isaac Sanders
2012-08-23
1
-0
/
+8
*
Fix "last equality wins" logic in relation merge
Ernie Miller
2012-08-19
1
-4
/
+7
*
Fix merge error when Equality LHS is non-attribute
Ernie Miller
2012-08-17
1
-0
/
+16
*
Merge pull request #7133 from roshats/fix_update_all_with_blank_argument
Carlos Antonio da Silva
2012-08-15
1
-0
/
+4
|
\
|
*
raise ArgumentError if list of attributes to change is empty in update_all
Roman Shatsov
2012-08-14
1
-0
/
+4
*
|
Remove ActiveRecord::Base.to_a
Jon Leighton
2012-08-03
1
-1
/
+1
*
|
Add `Relation#load`
Jon Leighton
2012-08-01
1
-0
/
+8
*
|
AR::Relation#order: make new order prepend old one
Bogdan Gusiev
2012-07-31
1
-5
/
+5
*
|
Deprecate ActiveRecord::Base.scoped.
Jon Leighton
2012-07-27
1
-58
/
+58
*
|
ActiveRecord::Base.all returns a Relation.
Jon Leighton
2012-07-27
1
-24
/
+24
|
/
*
support relations created with a table alias
Jon Leighton
2012-07-13
1
-0
/
+10
*
Relation#inspect handles doesn't perform a new query on an already-loaded rel...
Jon Leighton
2012-07-07
1
-1
/
+12
*
Limit the number of records in Relation#inspect
Damien Mathieu
2012-07-06
1
-0
/
+5
*
Show the records in Relation#inspect
Jon Leighton
2012-07-06
1
-0
/
+5
*
disallow mutating a relation once loaded
Jon Leighton
2012-06-22
1
-0
/
+27
*
a test case that ensures AR::Relation#merge can merge associations
Akira Matsuda
2012-06-03
1
-0
/
+8
*
modulize AR::NullRelation
Akira Matsuda
2012-06-01
1
-1
/
+6
*
fixed typo in word finiding
Ivan Kukobko
2012-05-20
1
-1
/
+1
*
quarantine more deprecated stuff
Jon Leighton
2012-05-18
1
-9
/
+0
*
quarantine deprecated tests
Jon Leighton
2012-05-18
1
-43
/
+3
*
Relation#from to accept other Relation objects
Radoslav Stankov
2012-05-17
1
-0
/
+7
*
Return false for exists? with new records - fixes #6199.
Andrew White
2012-05-10
1
-0
/
+1
*
Use `take` instead of `first` to avoid unwanted implicit ordering (fixes #6147)
Marcelo Silveira
2012-05-05
1
-1
/
+9
*
delete_all raise an error if a limit is provided - fixes #4979
Francesco Rodriguez
2012-04-30
1
-0
/
+4
*
find and replace deprecated keys
Jon Leighton
2012-04-27
1
-1
/
+1
*
%s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...
Jon Leighton
2012-04-27
1
-8
/
+3
*
remove deprecate #all usage
Jon Leighton
2012-04-26
1
-4
/
+0
*
remove deprecated scope stuff
Jon Leighton
2012-04-26
1
-13
/
+0
*
remove tests for #with_scope (it's now deprecated)
Jon Leighton
2012-04-25
1
-1
/
+0
*
Override AR::Relation methods in NullRelation.
Juanjo Bazán
2012-04-11
1
-0
/
+33
*
Add Relation#find_by and Relation#find_by!
Jon Leighton
2012-03-30
1
-0
/
+34
*
Fix typo in ActiveRecord::Relation#blank? test
Ruben Davila
2012-03-17
1
-1
/
+1
*
Fix ActiveRecord::Relation#blank? tests
Rafael Mendonça França
2012-03-16
1
-12
/
+15
*
test relation presence fix
Thiago Almeida
2012-03-16
1
-4
/
+4
*
tests for Relation .present? and .blank? are check cases and shouldn't force ...
Thiago Almeida
2012-03-16
1
-0
/
+19
*
Remove IdentityMap
Carlos Antonio da Silva
2012-03-13
1
-9
/
+7
*
Add dynamic find_or_create_by_{attribute}! method.
Andrew White
2012-03-12
1
-0
/
+12
[next]