なるようになるブログ

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

rails commit log流し読み(2023/11/25)

2023/11/25分のコミットです。

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


Remove duplicate assignment from ActiveRecord's Rakefile

activerecord/Rakefileの修正です。

2回同じ内容をtest_filesに指定していたのを、片方削除しています。


Fix submit button selector for type-less buttons

activestorage/app/javascript/activestorage/ujs.jsの修正です。

didClick内のsubmit buttonの検索処理を、type attributeの指定の無いbutton elementも検索出来るよう修正しています。


Fix prose indentation [ci-skip]

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

word_wrapメソッドのdocのフォーマットを修正しています。


Quote example output strings [ci-skip]

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

各メソッドのdoc内のexampleコードで、出力結果がStringになっている箇所をダブルクォートでくくるよう修正しています。


Format inline code [ci-skip]

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

各メソッドのdocのフォーマットを修正しています。


Revise TextHelper#concat code example [ci-skip]

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

TextHelper#concatメソッドのdoc内のexampleコードを簡略化しています。


Remove unused variable in code example [ci-skip]

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

cycleメソッドのdoc内のexampleコードから使用していない変数を削除しています。


Put Ruby code in ERB tags [ci-skip]

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

各メソッドのdoc内のexampleコードで、view内でRubyコードを記載する場合にERB tagを指定するよう修正しています。


Improve documentation for excerpt text helper

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

excerptメソッドのdocのフォーマットや言い回しを修正しています。


Do not overwrite AJ logger if it is supplied

activejob/lib/active_job/railtie.rbの修正です。

active_job.logger initializerで、loggerがすでに設定されている場合、::Rails.loggerで上書きしないよう修正しています。