なるようになるブログ

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

rails commit log流し読み(2023/04/28)

2023/04/28分のコミットです。

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


Merge pull request #48067 from shouichi/document-flash-delete

actionpack/lib/action_dispatch/middleware/flash.rbのdocの修正です。

ActionDispatch::FlashHash#deleteにdocを追加、及び、#discardのdocに#deleteとの挙動の違いについての説明を追加しています。


Use the skip forgery protection helper in Active Storage guide

rails guideのActive Storage Overviewの修正です。

Integrating with Libraries or Frameworksの項にあるexampleコードのskip_before_action :verify_authenticity_token -> skip_forgery_protectionに修正しています。


In older migrations, allow column collation to be explicitly specified

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

古いmigrationファイルでchange_column / change_columncollationオプション指定していた場合に、そのオプションが無視されてしまうリグレッションが発生していたのを修正しています。


Merge pull request #48019 from agrobbin/postgresql-exclusion-constraints-guides

rails gudieのActive Record and PostgreSQLの修正です。

exclusion constraintsについて説明したセクションを追加しています。