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
/
lib
/
active_record
/
associations
Commit message (
Expand
)
Author
Age
Files
Lines
...
*
|
|
|
|
Move duplicated code to `delete_or_destroy` in `CollectionAssociation`
Ryuta Kamizono
2017-10-06
1
-4
/
+2
*
|
|
|
|
Ensure `AliasTracker` respects a custom table name
Ryuta Kamizono
2017-09-30
2
-2
/
+2
*
|
|
|
|
PERF: Partially recover some performance when preloading.
Guo Xiang Tan
2017-09-26
1
-9
/
+3
*
|
|
|
|
Remove unused delegation to `reflection.options` in `Preloader::Association`
Ryuta Kamizono
2017-09-18
2
-4
/
+1
*
|
|
|
|
The name of the key on the associated record is abstracted as `reflection.joi...
Ryuta Kamizono
2017-09-18
4
-14
/
+5
*
|
|
|
|
The name of the key on the owner is abstracted as `reflection.join_foreign_key`
Ryuta Kamizono
2017-09-18
4
-17
/
+5
*
|
|
|
|
Extract `associate_records_to_owner` to refactor `Preloader::Association`
Ryuta Kamizono
2017-09-18
3
-20
/
+14
*
|
|
|
|
Remove the code that swapping `scope` and `options`
Ryuta Kamizono
2017-09-18
1
-5
/
+0
*
|
|
|
|
Early return if `records.empty?` in `Preloader#preload`
Ryuta Kamizono
2017-09-18
1
-3
/
+3
*
|
|
|
|
Don't pass `reflection_scope` to `preload_scope` if `reflection.scope` isn't ...
Ryuta Kamizono
2017-09-18
1
-1
/
+3
*
|
|
|
|
Return `through_scope` only if the scope is not empty scope
Ryuta Kamizono
2017-09-18
1
-4
/
+2
*
|
|
|
|
Remove useless condition in `reset_association`
Ryuta Kamizono
2017-09-18
1
-2
/
+1
*
|
|
|
|
PERF: Incorrect memoization in `ActiveRecord::Associations::Preloader::Associ...
Guo Xiang Tan
2017-09-11
1
-1
/
+5
*
|
|
|
|
Remove unnecessary `join_type` in `AssociationScope`
Ryuta Kamizono
2017-09-08
1
-5
/
+1
*
|
|
|
|
Don't pass `table` to `last_chain_scope` and `next_chain_scope`
Ryuta Kamizono
2017-09-07
1
-17
/
+15
*
|
|
|
|
`has_many :through` with unscope should affect to through scope
Ryuta Kamizono
2017-09-07
1
-21
/
+14
*
|
|
|
|
Don't pass unneeded `reflection` to `add_constraints`
Ryuta Kamizono
2017-09-05
1
-3
/
+3
*
|
|
|
|
Assigning `values` is only necessary when `reflection_scope.where_clause` is ...
Ryuta Kamizono
2017-09-05
1
-1
/
+1
*
|
|
|
|
Don't merge `reflection_scope` if `reflection.scope` isn't given
Ryuta Kamizono
2017-09-05
1
-1
/
+1
*
|
|
|
|
Scope in associations should treat nil as `all`
Ryuta Kamizono
2017-09-04
4
-5
/
+7
*
|
|
|
|
Fix preloading through association with custom scope
Ryuta Kamizono
2017-09-02
1
-1
/
+6
*
|
|
|
|
`values[:includes]` in `reflection_scope` is not compatible with `through_scope`
Ryuta Kamizono
2017-09-02
1
-1
/
+6
*
|
|
|
|
Don't call `scope.eager_loading?` when `reflection_scope.where_clause` is empty
Ryuta Kamizono
2017-09-02
1
-10
/
+10
*
|
|
|
|
Merge pull request #30403 from yhirano55/fix_broken_doc_for_active_record
Ryuta Kamizono
2017-08-26
7
-7
/
+7
|
\
\
\
\
\
|
*
|
|
|
|
Fix broken doc for Active Record [ci skip]
Yoshiyuki Hirano
2017-08-25
7
-7
/
+7
*
|
|
|
|
|
Should work inverse association when eager loading
Ryuta Kamizono
2017-08-25
1
-3
/
+3
|
/
/
/
/
/
*
|
|
|
|
Through scope should not be affected by scoping
Ryuta Kamizono
2017-08-15
2
-12
/
+2
*
|
|
|
|
Merge pull request #27609 from kamipo/fix_association_primary_key
Rafael França
2017-08-14
1
-4
/
+7
|
\
\
\
\
\
|
*
|
|
|
|
Fix `reflection.association_primary_key` for `has_many` associations
Ryuta Kamizono
2017-08-13
1
-4
/
+7
*
|
|
|
|
|
Delegate to `Enumerable#find` for `CollectionProxy`
Ryuta Kamizono
2017-08-13
2
-17
/
+14
|
/
/
/
/
/
*
|
|
|
|
Merge pull request #29720 from gaurish/ar_find_error_message_improvement
Rafael França
2017-08-11
1
-1
/
+3
|
\
\
\
\
\
|
*
|
|
|
|
Return Not found Ids in ActiveRecord::NotFound
Gaurish Sharma
2017-07-29
1
-1
/
+3
*
|
|
|
|
|
Specify `table.name` only when `scope.table` and `table` are different (#29058)
Ryuta Kamizono
2017-08-11
1
-4
/
+12
*
|
|
|
|
|
Passing `klass` to `StatementCache.new`
Ryuta Kamizono
2017-08-04
2
-12
/
+8
|
/
/
/
/
/
*
|
|
|
|
Remove single element array preprocess
Ryuta Kamizono
2017-07-26
1
-1
/
+1
*
|
|
|
|
Remove useless `JoinInformation`
Ryuta Kamizono
2017-07-25
2
-5
/
+3
|
|
_
|
_
|
/
|
/
|
|
|
*
|
|
|
Merge pull request #29765 from lugray/fix_counter_cache
Rafael França
2017-07-24
1
-3
/
+1
|
\
\
\
\
|
*
|
|
|
Add test for fixed `counter_cache` double increment
Lisa Ugray
2017-07-19
1
-3
/
+1
*
|
|
|
|
Refactor Active Record to let Arel manage bind params
Sean Griffin
2017-07-24
2
-5
/
+3
*
|
|
|
|
Merge pull request #29855 from lugray/has_one_destroyed_by_association
Rafael França
2017-07-21
1
-0
/
+2
|
\
\
\
\
\
|
*
|
|
|
|
Match destroyed_by_association for has_one to has_many
Lisa Ugray
2017-07-21
1
-0
/
+2
*
|
|
|
|
|
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
35
-0
/
+70
|
/
/
/
/
/
*
|
|
|
|
Merge pull request #29033 from kamipo/make_preload_query_to_prepared_statements
Sean Griffin
2017-07-18
1
-1
/
+1
|
\
\
\
\
\
|
|
/
/
/
/
|
/
|
|
|
|
|
*
|
|
|
Make preload query to preparable
Ryuta Kamizono
2017-07-07
1
-1
/
+1
*
|
|
|
|
Fix unscoping `default_scope` for `Preloader`
Ryuta Kamizono
2017-07-19
1
-1
/
+11
*
|
|
|
|
Fix `JoinDependency` with using a custom table
Ryuta Kamizono
2017-07-18
2
-6
/
+9
*
|
|
|
|
Don't cache `scope_for_create`
Ryuta Kamizono
2017-07-16
2
-2
/
+2
*
|
|
|
|
Fix `create_with` using both string and symbol
Ryuta Kamizono
2017-07-16
3
-9
/
+7
*
|
|
|
|
Remove useless `aliased_table_name` in `JoinDependency`
Ryuta Kamizono
2017-07-15
4
-18
/
+1
|
/
/
/
/
*
|
|
|
Fix eager loading association with scope including joins
Ryuta Kamizono
2017-07-04
1
-4
/
+10
[prev]
[next]