なるようになるブログ

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

rails commit log流し読み(2021/03/20)

2021/03/20分のコミットです。

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


Use ... argument forwarding instead of ruby2_keywords when possible

引数のforwarding処理に、ruby2_keywordsではなく...を使用するよう修正しています。


Merge pull request #41068 from ricardotk002/fix-where-in-stmt-logging

Active Recordの修正です。

WHERE IN statementに対するlog subscriber処理で、attribute名が正しく表示されないバグが発生していたのを修正しています。


Ensure modules are preloaded correctly using rel=modulepreload.

actionview/lib/action_view/helpers/asset_tag_helper.rbの修正です。

javascript_include_tagtypemoduleが指定されていた場合、relmodulepreloadを指定するよう修正しています。

参考: Link types: modulepreload - HTML: HyperText Markup Language | MDN


Always render attachment partials as HTML with :html format inside trix editor

actiontext/lib/action_text/attachments/trix_conversion.rbの修正です。

request formatに関わらず、Trix Editor内では、attachment partialsをHTML formatでrenderするよう修正しています。HTML format以外だとrender出来ない為。


Add documentation to HashWithIndifferentAccess#except

activesupport/lib/active_support/hash_with_indifferent_access.rbのdocの修正です。

HashWithIndifferentAccess#exceptメソッドのdocを追加しています。