なるようになるブログ

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

rails commit log流し読み(2022/06/25)

2022/06/25分のコミットです。

CHANGELOGへの追加はありませんでした。


Document concerns about storage and column size when using encryption

rails guideのActive Record Encryptionの修正です。

encryptionは Base64 encodingを行う為、カラムのサイズが元のデータより多くなる旨説明したImportant: About storage and column sizeセクションを追加しています。


Fix code cache namespacing for proxied attribute methods

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

proxied attribute methodsをcacheする際に、suffixが指定されていた場合の考慮が漏れていたのを修正しています。


Merge pull request #45452 from jonathanhefner/allow_deprecated_singular_associations_name-deprecation-warning

activerecord/lib/active_record/table_metadata.rbの修正です。

singular association nameを指定した場合のdeprecateメッセージを修正しています。


Merge pull request #45451 from jonathanhefner/allow_deprecated_singular_associations_name-default-tests

railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_7_1.rb.ttの修正です。

config.active_record.allow_deprecated_singular_associations_nameの値の指定が誤っていたのを修正しています。