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
/
collection_association.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Revert "Merge pull request #35127 from bogdan/counter-cache-loading"
Ryuta Kamizono
2019-02-13
1
-2
/
+1
*
Merge pull request #35178 from bogdan/has-many-size
Ryuta Kamizono
2019-02-08
1
-2
/
+2
|
\
|
*
Bugfix has_many association #size when ids reader is cached and association i...
Bogdan Gusiev
2019-02-08
1
-2
/
+2
*
|
Fix `CollectionProxy#concat` to return self by alias it to `#<<`
Yuya Tanaka
2019-02-06
1
-3
/
+2
|
/
*
Bugfix association loading behavior when counter cache is zero
Bogdan Gusiev
2019-02-05
1
-2
/
+3
*
Merge pull request #34806 from bogdan/reuse-find-target
Ryuta Kamizono
2018-12-27
1
-16
/
+0
|
\
|
*
Reuse AR::Association#find_target method
Bogdan Gusiev
2018-12-27
1
-15
/
+0
|
/
*
Revert "Merge pull request #34538 from bogdan/reuse-find-target"
Ryuta Kamizono
2018-11-28
1
-0
/
+15
*
Reuse code in AR::Association#find_target
Bogdan Gusiev
2018-11-27
1
-16
/
+0
*
Rename union to intersection
Florian Ebeling
2018-11-06
1
-1
/
+1
*
Fix handling of duplicates for `replace` on has_many-through
Florian Ebeling
2018-11-06
1
-3
/
+3
*
Don't use `target=`
Rafael Mendonça França
2018-06-11
1
-1
/
+1
*
Use `-=` to change the update the collection on the association
Rafael Mendonça França
2018-06-11
1
-2
/
+1
*
Merge pull request #29939 from arthurchui/activerecord-delete-associations-loop
Rafael Mendonça França
2018-06-11
1
-1
/
+2
|
\
|
*
Use hash lookup for deleting existing associations from `target`
Arthur Chui
2017-07-25
1
-1
/
+2
*
|
Fix `collection.create` to could be rolled back by `after_save`
Ryuta Kamizono
2018-06-07
1
-3
/
+9
*
|
Initialization block is a part of `build_record`
Ryuta Kamizono
2018-06-04
1
-5
/
+2
*
|
Ensure that `ids_reader` respects dirty target whether target is loaded or not
Ryuta Kamizono
2018-04-27
1
-1
/
+3
*
|
Loaded associations should not run a new query when size is called
Graham Turner
2018-04-26
1
-1
/
+3
*
|
`target` in `CollectionAssociation` is always an array
Ryuta Kamizono
2018-04-21
1
-2
/
+2
*
|
Avoid extra calls to to_s
Daniel Colson
2018-01-29
1
-1
/
+1
*
|
Remove `association_primary_key_type` from `AssociationReflection` and `Throu...
Ryuta Kamizono
2018-01-01
1
-2
/
+2
*
|
Provide arguments to RecordNotFound
Nikita Misharin
2017-11-25
1
-1
/
+7
*
|
Move duplicated code to `delete_or_destroy` in `CollectionAssociation`
Ryuta Kamizono
2017-10-06
1
-4
/
+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
1
-15
/
+11
|
/
/
*
|
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
|
|
/
*
/
Passing `klass` to `StatementCache.new`
Ryuta Kamizono
2017-08-04
1
-6
/
+4
|
/
*
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
*
Fix `create_with` using both string and symbol
Ryuta Kamizono
2017-07-16
1
-4
/
+0
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Merge pull request #29540 from kirs/rubocop-frozen-string
Matthew Draper
2017-07-02
1
-0
/
+1
|
\
|
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
|
Should be clear `@association_ids` when joined newly associated record
Ryuta Kamizono
2017-06-30
1
-2
/
+11
|
/
*
Merge pull request #29610 from kamipo/dont_passing_klass_connection_to_associ...
Rafael França
2017-06-28
1
-1
/
+1
|
\
|
*
Don't passing `klass.connection` to `AssociationScope`
Ryuta Kamizono
2017-06-29
1
-1
/
+1
*
|
Fix `ids_reader` to respect case sensitive primary key
Ryuta Kamizono
2017-06-28
1
-4
/
+1
|
/
*
Prevent extra `scope` construction in `find_target`
Ryuta Kamizono
2017-06-18
1
-1
/
+2
*
Cache the association proxy object
Ryuta Kamizono
2017-05-28
1
-1
/
+2
*
Prevent double firing the before save callback of new object when the parent ...
Ryuta Kamizono
2017-04-21
1
-35
/
+32
*
Merge pull request #25877 from kamipo/delegate_to_scope_rather_than_merge
Matthew Draper
2017-02-21
1
-10
/
+4
|
\
|
*
No need to cache collection proxies separately
Ryuta Kamizono
2016-12-25
1
-7
/
+1
|
*
Delegate to `scope` rather than `merge!` for collection proxy
Ryuta Kamizono
2016-12-25
1
-3
/
+3
*
|
Merge pull request #26352 from kamipo/avoid_to_call_set_inverse_instance_twice
Arthur Nogueira Neves
2017-01-03
1
-1
/
+2
|
\
\
|
*
|
Avoid to call `set_inverse_instance` twice for `has_many` association
Ryuta Kamizono
2016-12-28
1
-1
/
+2
*
|
|
Refactor `CollectionAssociation#ids_reader`
Ryuta Kamizono
2017-01-01
1
-3
/
+1
*
|
|
Remove deprecated force reload argument in association readers
Rafael Mendonça França
2016-12-29
1
-10
/
+2
|
/
/
*
/
Add a record to target before any callbacks loads the record
Ryuta Kamizono
2016-12-23
1
-9
/
+16
|
/
[next]