なるようになるブログ

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

rails commit log流し読み(2021/05/04)

2021/05/04分のコミットです。

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

activerecord/CHANGELOG.md


Merge pull request #41849 from NobodysNightmare/patch-3

rails guideのActive Job Basicsの修正です。

独自のserializerを追加するexampleコードについて、コードの追加が必要なファイル名の指定、及び、そのファイルをautoloadする設定のexampleコードを追加しています。


Fix case of GitHub, JavaScript, TypeScript [ci skip]

docの修正です。

GitHub, JavaScript, TypeScriptの表記ゆれがあったのを修正しています。


Merge pull request #42128 from flavorjones/flavorjones-clean-up-arel-visitor-dot

Active Recordの修正です。

Arel::Visitors::Dotでサポートしてなかった各種nodeをサポートするよう修正しています。


Add documentation on spell checking with misspell [ci skip]

rails guideのContributing to Ruby on Railsの修正です。

Follow the Coding Conventionsの項にmisspellの使いかたについての説明を追加しています。


Add spell checking with codespell as a GitHub Action

CIでcodespellを実行するよう修正、及び、スペルミスがあったファイルを修正しています。


Updated #quote comments and removed if-else block.

railties/lib/rails/generators/actions.rbの修正です。

#quoteメソッドを必ずdouble quoteで括った値を返すよう修正しています。Railsのtemplate等では今必ずdouble quoteを使うようになっており、それに合わせる為。