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
*
Allow column name with function (e.g. `length(title)`) as safe SQL string
Ryuta Kamizono
2019-06-10
1
-3
/
+3
*
NULLS { FIRST | LAST } is safe SQL string since 6c82b6c99d86f37e61f935fb342cc...
Ryuta Kamizono
2019-06-07
1
-6
/
+6
*
Allow quoted identifier string as safe SQL string
Ryuta Kamizono
2019-06-06
1
-2
/
+2
*
Use `capture_sql` instead of `assert_sql` with no pattern
Ryuta Kamizono
2019-05-22
1
-1
/
+1
*
Fix `count(:all)` with eager loading and explicit select and order
Ryuta Kamizono
2019-04-04
1
-0
/
+6
*
Add `ActiveRecord::Relation#extract_associated` for extracting associated rec...
David Heinemeier Hansson
2019-03-29
1
-0
/
+7
*
Delegate `only` query method to relation as with `except`
Ryuta Kamizono
2019-03-07
1
-0
/
+4
*
Relax table name detection in `from` to allow any extension like INDEX hint
Ryuta Kamizono
2019-03-01
1
-10
/
+22
*
Fix random CI failure due to non-deterministic sorting order
Ryuta Kamizono
2019-02-27
1
-5
/
+5
*
fixes different `count` calculation when using `size` manual `select` with DI...
jvillarejo
2019-02-26
1
-0
/
+7
*
Add test case for `unscope` with `merge`
Ryuta Kamizono
2019-02-24
1
-0
/
+13
*
Add test case for `unscope` with unknown column
Ryuta Kamizono
2019-02-24
1
-0
/
+11
*
Make `test_select_with_subquery_in_from_uses_original_table_name` work with o...
yuuji.yaginuma
2019-02-23
1
-7
/
+2
*
Skip `test_select_with_subquery_in_from_uses_original_table_name` on CI
Ryuta Kamizono
2019-02-23
1
-1
/
+1
*
Skip `test_select_with_subquery_in_from_uses_original_table_name` on Buildkit...
Ryuta Kamizono
2019-02-22
1
-2
/
+5
*
Just skip `test_select_with_subquery_in_from_uses_original_table_name` on Travis
Ryuta Kamizono
2019-02-22
1
-0
/
+3
*
Fix `pluck` and `select` with `from` if `from` has original table name
Ryuta Kamizono
2019-02-22
1
-0
/
+36
*
Introduce delete_by and destroy_by methods to ActiveRecord::Relation
Abhay Nikam
2019-02-19
1
-0
/
+18
*
Merge pull request #35274 from AlexBrodianoi/fix_does_not_support_reverse
Ryuta Kamizono
2019-02-17
1
-0
/
+9
|
\
|
*
Raise ActiveRecord::IrreversibleOrderError if nulls first/last is not a singl...
Finn Young
2019-02-17
1
-0
/
+9
*
|
Fix `order` with custom attributes
Ryuta Kamizono
2019-02-17
1
-0
/
+7
*
|
Deprecate using class level querying methods if the receiver scope regarded a...
Ryuta Kamizono
2019-02-15
1
-12
/
+18
*
|
Revert "Merge pull request #35186 from kamipo/fix_leaking_scope_on_relation_c...
Ryuta Kamizono
2019-02-15
1
-9
/
+33
|
/
*
Fix `pluck` and `select` with custom attributes
Ryuta Kamizono
2019-02-13
1
-0
/
+7
*
Fix `relation.create` to avoid leaking scope to initialization block and call...
Ryuta Kamizono
2019-02-07
1
-3
/
+18
*
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
[next]