なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2023/06/30)

2023/06/30分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activestorage/CHANGELOG.md


Revert "Merge pull request #48487 from lazaronixon/scope-subqueries"

associationのsubqueriesにscopeを適応するよう対応した、Apply scope to association subqueriesをRevertしています。breakin changeになってしまい、機能の振る舞いについてまだ議論が必要な為。


Include variants when eager loading attachment

activestorage/lib/active_storage/attached/model.rbの修正です。

single attachmentを含むrecordをloadする際に、variantがeager loadされてなかったのを、variantもeager loadされるよう修正しています。


Document generated dirty attribute methods [ci-skip]

activemodel/lib/active_model/dirty.rbの修正です。

*_previously_changed?*_will_change!などの、ActiveModel::Dirty関連のメソッドのdocを追加しています。