なるようになるブログ

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

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

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

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

activerecord/CHANGELOG.md


Action Text rich_text_area code samples [ci skip]

actiontext/app/helpers/action_text/tag_helper.rbのdocの修正です。

Action View helperのrich_text_areaメソッドのdocのexampleコードがFormBuilder経由のexampleになっていたのを、ActionView::Base経由のexampleに修正しています。


Improve documentation for highlight text helper

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

highlightメソッドのdocについて、オプションのフォーマットや言い回しの修正等を行っています。


Add test coverage for rich_text_area helper

actiontext/test/template/form_helper_test.rbの修正です。

rich_text_area helperにオプションを指定した場合等のテストを追加しています。


Merge pull request #50251 from abeidahmed/has_secure_token-call-setter-method

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

has_secure_tokenメソッドで、initialize時にtokenを設定する際に、classでtokenのsetterメソッドをオーバライドしている場合、オーバライドしている方のメソッドが呼ばれるよう修正しています。


Use RedCloth GitHub instead of an expired domain

rails guideのSecuring Rails Applicationsの修正です。

RedCloth gemへのリンク先をhttp://redcloth.org/ から https://github.com/jgarber/redcloth に修正しています。redcloth.orgはexpiredしておりコンテンツが表示されないページになっている為。