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
*
Avoid passing unnecessary arguments to relation
Daniel Colson
2018-01-24
2
-2
/
+2
*
Fix building has_one through record
Ryuta Kamizono
2018-01-23
3
-14
/
+10
*
Don't update counter cache when through record was not destroyed
Eugene Kenny
2018-01-14
1
-1
/
+1
*
Don't pass garbage args to alias tracker
Ryuta Kamizono
2018-01-14
1
-10
/
+2
*
Merge pull request #23146 from piotrj/issue_18424
Ryuta Kamizono
2018-01-11
1
-0
/
+1
|
\
|
*
When deleting through records, take into account association conditions
Piotr Jakubowski
2016-05-04
1
-8
/
+9
*
|
Fix `stale_state` for nested `has_many :through` associations
Ryuta Kamizono
2018-01-10
1
-2
/
+13
*
|
Merge pull request #16314 from zoltankiss/allow-nested-has-many-associations-...
Ryuta Kamizono
2018-01-10
1
-1
/
+1
|
\
\
|
*
|
Fix nested `has many :through` associations on unpersisted instances
Zoltan Kiss
2015-03-26
1
-1
/
+1
*
|
|
Bring back passing single record support for `Preloader`
Ryuta Kamizono
2018-01-10
1
-1
/
+1
*
|
|
Fix deleting through records when using has_many through with `source_type`
Ryuta Kamizono
2018-01-08
1
-8
/
+6
*
|
|
Simply use `scope.delete_all` instead of constructing delete manager
Ryuta Kamizono
2018-01-07
1
-8
/
+1
*
|
|
Remove passing argument to singular and collection association readers
Ryuta Kamizono
2018-01-05
1
-2
/
+2
*
|
|
Merge pull request #27561 from fishbrain/count-all-in-has-many-association
Ryuta Kamizono
2018-01-03
1
-1
/
+1
|
\
\
\
|
*
|
|
Use `count(:all)` in HasManyAssociation#count_records
Klas Eskilson
2017-02-07
1
-1
/
+1
*
|
|
|
Remove `association_primary_key_type` from `AssociationReflection` and `Throu...
Ryuta Kamizono
2018-01-01
1
-2
/
+2
*
|
|
|
Bugfix foreign key replacement in inverse association
Bogdan Gusiev
2017-12-27
2
-13
/
+8
*
|
|
|
Fix conflicts `counter_cache` with `touch: true` by optimistic locking.
bogdanvlviv
2017-12-12
2
-5
/
+9
*
|
|
|
Provide arguments to RecordNotFound
Nikita Misharin
2017-11-25
1
-1
/
+7
*
|
|
|
Consolidate duplicated `to_ary`/`to_a` definitions in `Relation` and `Collect...
Ryuta Kamizono
2017-11-10
1
-4
/
+6
*
|
|
|
Remove useless preloader classes
Ryuta Kamizono
2017-11-10
10
-104
/
+15
*
|
|
|
Don't expose accessors which are internal used only
Ryuta Kamizono
2017-11-08
2
-3
/
+6
*
|
|
|
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
*
|
|
|
Merge pull request #31005 from shuheiktgw/remove_unnecessary_semicolons
Matthew Draper
2017-10-28
1
-1
/
+1
*
|
|
|
fix initial count
pavel
2017-10-27
1
-1
/
+1
*
|
|
|
Ensure associations doesn't table name collide with aliased joins
Ryuta Kamizono
2017-10-24
1
-1
/
+1
*
|
|
|
Ensure associations doesn't table name collide with string joins
Ryuta Kamizono
2017-10-23
1
-4
/
+6
*
|
|
|
[Active Record] require => require_relative
Akira Matsuda
2017-10-21
3
-3
/
+3
*
|
|
|
Remove association(true) references from docs [ci skip]
Eugene Kenny
2017-10-16
1
-4
/
+0
*
|
|
|
Joined tables in association scope doesn't use the same aliases with the pare...
Ryuta Kamizono
2017-10-09
3
-13
/
+18
*
|
|
|
Decouple building `AliasTracker` from `JoinDependency`
Ryuta Kamizono
2017-10-08
3
-14
/
+7
*
|
|
|
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
[next]