なるようになるブログ

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

rails commit log流し読み(2022/07/29)

2022/07/29分のコミットです。

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


Extract #build_create_index_definition

Active Recordの修正です。

CreateIndexDefinition objectの生成処理をbuild_create_index_definitionメソッドに切り出しています。


Extract #build_add_column_definition

Active Recordの修正です。

AlterTable objectの生成処理をbuild_add_column_definitionメソッドに切り出しています。


Merge pull request #45672 from jonathanhefner/generate-master-key-despite-require_master_key

Active Support、railtiesの修正です。

config.require_master_keyにtrueが指定されていて、かつ、master keyが存在しない場合、credentials / encryptedのeditコマンドでmaster keyの生成が行われるよう修正しています。


fixed the delete comment guide and added missing unless statement

rails guideのGetting Started with Railsの修正です。

Deleting Commentsの項にあるapp/views/comments/_comment.html.erbcomment.archived?かどうかのチェックを追加しています。他の項にあるexampleコードと同じ振る舞いにする為。