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
/
preloader
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fix preload with nested associations
Rafael Mendonça França
2019-02-26
1
-1
/
+5
*
Merge pull request #35247 from bogdan/fix-source-reflection-reset-code
Ryuta Kamizono
2019-02-20
2
-21
/
+10
|
\
|
*
Fix reset of the source association when through association is loaded
Bogdan Gusiev
2019-02-20
2
-21
/
+10
*
|
Refactor to just use `Association#target=` in `associate_records_to_owner`
Ryuta Kamizono
2019-02-09
1
-3
/
+2
|
/
*
Don't unset foreign key when preloading missing record
Eugene Kenny
2018-03-24
1
-2
/
+2
*
Extract all `base_class.name` as `polymorphic_name`
Ryuta Kamizono
2018-03-04
1
-1
/
+1
*
Association creation and finding should work consistently (#32048)
Ryuta Kamizono
2018-02-26
1
-1
/
+1
*
Use private attr_reader
Ryuta Kamizono
2018-02-23
1
-2
/
+1
*
Avoid extra calls to to_s
Daniel Colson
2018-01-29
1
-2
/
+2
*
Remove useless preloader classes
Ryuta Kamizono
2017-11-10
9
-85
/
+8
*
Don't expose accessors which are internal used only
Ryuta Kamizono
2017-11-08
1
-1
/
+3
*
Don't expose internal methods in `Preloader::ThroughAssociation`
Ryuta Kamizono
2017-11-08
1
-8
/
+7
*
Remove useless `associated_records_by_owner`
Ryuta Kamizono
2017-11-07
2
-16
/
+10
*
Refactor Preloader Code
Bogdan Gusiev
2017-11-06
3
-81
/
+40
*
Fix preloading polymorphic multi-level through association
Ryuta Kamizono
2017-11-06
1
-1
/
+7
*
Fix preloading polymorphic association when through association has already l...
Ryuta Kamizono
2017-11-06
1
-4
/
+16
*
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
*
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
*
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
1
-1
/
+1
*
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
*
Through scope should not be affected by scoping
Ryuta Kamizono
2017-08-15
1
-11
/
+1
*
Remove single element array preprocess
Ryuta Kamizono
2017-07-26
1
-1
/
+1
*
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
9
-0
/
+18
*
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 preloading association with scope including joins
Ryuta Kamizono
2017-07-04
2
-46
/
+25
*
Remove unused `association_key` and `table` methods in `Preloader::Association`
Ryuta Kamizono
2017-07-04
1
-10
/
+0
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
9
-9
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
9
-0
/
+9
*
Merge pull request #29129 from kamipo/prevent_extra_through_scope
Rafael França
2017-06-28
1
-2
/
+4
|
\
|
*
Prevent extra `through_scope`
Ryuta Kamizono
2017-05-18
1
-2
/
+4
*
|
Don't expose methods and attrs for internal usage
Ryuta Kamizono
2017-05-30
3
-6
/
+5
|
/
*
Remove useless `target_records_from_association`
Ryuta Kamizono
2017-05-04
1
-11
/
+3
*
Add more rubocop rules about whitespaces
Rafael Mendonça França
2016-10-29
2
-4
/
+4
*
Merge pull request #26379 from kamipo/remove_unnecessary_query_scope
Andrew White
2016-09-05
1
-4
/
+0
|
\
|
*
Remove unnecessary `query_scope`
Ryuta Kamizono
2016-08-16
1
-4
/
+0
*
|
Ensure that inverse associations are set before running callbacks
Sean Griffin
2016-08-31
3
-5
/
+17
*
|
Merge pull request #24099 from k0kubun/preserve-readonly
Rafael Mendonça França
2016-08-18
1
-1
/
+1
|
\
\
|
|
/
|
/
|
[next]