2023/04/13åã®ã³ãããã§ãã
CHANGELOGã¸ã®è¿½å ã¯ããã¾ããã§ããã
Fix associations associated with a CPK model by id attribute
activerecord/lib/active_record/associations/association_scope.rb
ã
activerecord/lib/active_record/reflection.rb
ã®ä¿®æ£ã§ãã
composite primary keyã使ç¨ãã¦ããmodelã¨id
attributeã§é¢é£ä»ãããã¦ããassociationããã£ãå ´åã«ãassociationã®åå¾å¦çã«id
attributeã使ç¨ãã¦ãã¼ã¿ã®åå¾å¦çãè¡ããããä¿®æ£ãã¦ãã¾ãã
Fix replacing foreign key for a CPK association by id attribute
activerecord/lib/active_record/autosave_association.rb
ã®ä¿®æ£ã§ãã
composite primary keyã使ç¨ãã¦ããmodelã¨id
attributeã§é¢é£ä»ãããã¦ããassociationããã£ãå ´åã«ãforeign keyã®replaceã«id
attributeã使ç¨ãããããä¿®æ£ãã¦ãã¾ãã
Ensure that ids_writer and ids_reader is working for CPK
activerecord/lib/active_record/associations/collection_association.rb
ã
activerecord/lib/active_record/relation/calculations.rb
ã®ä¿®æ£ã§ãã
ids_writeråã³ids_readerã¡ã½ããã§ãcomposite primary keyãæ±ããããä¿®æ£ãã¦ãã¾ãã
fixed comment for example sql statement
activerecord/lib/active_record/relation/calculations.rb
ã®docã®ä¿®æ£ã§ãã
ids
ã¡ã½ããå
ã®SQLã®å®è¡çµæãå®éã®çµæã¨ç°ãªã£ã¦ããã®ãä¿®æ£ãã¦ãã¾ãã
:nail_care: Clean up changelog entry for #47877
actionpack/CHANGELOG.md
ã®ä¿®æ£ã§ãã
Print source location when inspecting routesã®entryã®ãã©ã¼ããããä¿®æ£ãã¦ãã¾ãã
Merge pull request #47928 from Shopify/pm/cpk-delete
activerecord/lib/active_record/associations/has_many_association.rb
ã®ä¿®æ£ã§ãã
composite primary keyã使ç¨ãã¦ããmodelããassociationã®åé¤å¦çãè¡ããããä¿®æ£ãã¦ãã¾ãã