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
*
Relation no longer respond to Arel methods
Ryuta Kamizono
2019-02-06
1
-15
/
+0
*
#create_or_find_by/!: add more tests and fix docs (#34653)
Bogdan
2018-12-08
1
-0
/
+39
*
Generate delegation methods to named scope in the definition time
Ryuta Kamizono
2018-10-09
1
-0
/
+10
*
Extract `{update,delete}_all_test.rb` from `persistence_test.rb` and `relatio...
Ryuta Kamizono
2018-09-16
1
-180
/
+0
*
Fixes #33610
Darwin D Wu
2018-09-11
1
-0
/
+11
*
Just delegate `update` with ids on a relation to `klass.update`
Ryuta Kamizono
2018-08-31
1
-0
/
+18
*
Avoid extra scoping when using `Relation#update`
Ryuta Kamizono
2018-07-31
1
-0
/
+4
*
Merge pull request #31513 from fatkodima/relation-touch_all
Rafael França
2018-04-20
1
-1
/
+46
|
\
|
*
Add `touch_all` method to `ActiveRecord::Relation`
fatkodima
2018-04-13
1
-1
/
+46
*
|
Replace `assert !` with `assert_not`
Daniel Colson
2018-04-19
1
-8
/
+8
|
/
*
Merge pull request #32005 from maschwenk/ar-distinct-order-count-regression
Ryuta Kamizono
2018-02-27
1
-0
/
+6
*
Add #create_or_find_by to lean on unique constraints (#31989)
David Heinemeier Hansson
2018-02-14
1
-0
/
+29
*
Remove extra whitespace
Daniel Colson
2018-01-25
1
-14
/
+14
*
Use assert_empty and assert_not_empty
Daniel Colson
2018-01-25
1
-4
/
+4
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-62
/
+62
*
Use respond_to test helpers
Daniel Colson
2018-01-25
1
-5
/
+5
*
Fix `count(:all)` with eager loading and having an order other than the drivi...
Ryuta Kamizono
2018-01-25
1
-0
/
+6
*
Avoid passing unnecessary arguments to relation
Daniel Colson
2018-01-24
1
-1
/
+5
*
Fix `count(:all)` to correctly work `distinct` with custom SELECT list
Ryuta Kamizono
2017-12-20
1
-0
/
+6
*
Remove outdated comments [ci skip]
Ryuta Kamizono
2017-12-19
1
-4
/
+0
*
Using subselect for `delete_all` with `limit` or `offset`
Ryuta Kamizono
2017-12-19
1
-2
/
+0
*
Fix `scope_for_create` to do not lose polymorphic associations
Ryuta Kamizono
2017-12-08
1
-0
/
+9
*
Merge pull request #27947 from mastahyeti/unsafe_raw_sql
Matthew Draper
2017-11-14
1
-19
/
+19
|
\
|
*
deal with Array arguments to #order
Ben Toews
2017-11-09
1
-3
/
+3
|
*
convert order arg to string before checking if we can reverse it
Ben Toews
2017-11-09
1
-2
/
+2
|
*
use << instead of #concat in #reverse_sql_order because we might be working w...
Ben Toews
2017-11-09
1
-1
/
+1
|
*
try using regexes
Ben Toews
2017-11-09
1
-26
/
+23
|
*
allow table name and direction in string order arg
Ben Toews
2017-11-09
1
-33
/
+33
|
*
work around deprecation warnings in a bunch of tests
Ben Toews
2017-11-09
1
-61
/
+64
*
|
Fix random CI failure due to non-deterministic sorting order
Ryuta Kamizono
2017-11-10
1
-1
/
+1
*
|
Ensure `apply_join_dependency` for subqueries in `from` and `where`
Ryuta Kamizono
2017-11-10
1
-0
/
+12
*
|
Set counter caches to correct values in fixtures
Bogdan Gusiev
2017-11-08
1
-9
/
+9
|
/
*
All test cases for `exists?` places in `finder_test.rb` to ease to find the t...
Ryuta Kamizono
2017-10-09
1
-26
/
+0
*
Ensure `AliasTracker` respects a custom table name
Ryuta Kamizono
2017-09-30
1
-4
/
+8
*
Add test case for `arel_attribute` with a custom table
Ryuta Kamizono
2017-09-27
1
-0
/
+4
*
Treat `Set` as an `Array` in `Relation#where`
Sean Griffin
2017-09-26
1
-0
/
+13
*
Refactor Active Record to let Arel manage bind params
Sean Griffin
2017-07-24
1
-46
/
+1
*
Merge pull request #29867 from koic/fix_a_failed_ar_test_when_using_oracle
Kasper Timm Hansen
2017-07-23
1
-2
/
+10
|
\
|
*
Fix a failued AR test when using OracleAdapter
Koichi ITO
2017-07-20
1
-2
/
+10
*
|
Merge pull request #29732 from kirs/frozen-activerecord
Rafael França
2017-07-21
1
-0
/
+2
|
\
\
|
*
|
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
|
|
/
*
/
Revert "Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`"
Sean Griffin
2017-07-21
1
-7
/
+3
|
/
*
Fix `JoinDependency` with using a custom table
Ryuta Kamizono
2017-07-18
1
-5
/
+14
*
Merge pull request #29801 from kamipo/extract_null_relation_test
Sean Griffin
2017-07-17
1
-118
/
+0
|
\
|
*
Extract `NullRelationTest` from `RelationTest`
Ryuta Kamizono
2017-07-15
1
-118
/
+0
*
|
Merge pull request #29799 from kamipo/remove_outdated_test_scoped_responds_to...
Sean Griffin
2017-07-17
1
-8
/
+0
|
\
\
|
*
|
Remove outdated `test_scoped_responds_to_delegated_methods`
Ryuta Kamizono
2017-07-15
1
-8
/
+0
|
|
/
*
|
Fix `where` with a custom table
Ryuta Kamizono
2017-07-18
1
-4
/
+4
*
|
Fix `create_with` using both string and symbol
Ryuta Kamizono
2017-07-16
1
-1
/
+1
|
/
*
Skip query cache for in_batches and friends
Eugene Kenny
2017-07-06
1
-0
/
+42
[next]