なるようになるブログ

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

rails commit log流し読み(2025/07/10)

2025/07/10分のコミットです。

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

activerecord/CHANGELOG.md


Add params expect method to action pack's notable changes (#55315)

rails guideのRuby on Rails 8.0 Release Notesの修正です。

Action PackのNotable changesに、params#expectメソッドの説明を追加しています。


Fix stale links in securing rails apps guide

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

guide全体について、グラマーや、リンク切れになっているページの修正を行っています。


Include current character length in index and table name length error messages

activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rbの修正です。

index及びtable nameのlenghtチェックでエラーになった場合に、エラーメッセージにエラーになった文字数を含むよう修正しています。


Fix engineering notation -> scientific notation

rails guideのActive Support Core Extensionsの修正です。

Extensions to BigDecimalセクションのto_sメソッドの挙動について説明している箇所で用語を誤って使っている(scientific notationの説明をしている箇所がengineering notationになっていた)あったのを修正しています。

参考:Use a correct term: engineering notation -> scientific notation


Merge pull request #55312 from p8/actionview/fields-for-documentation

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

fields_forのdoc内のform_withメソッドのdocへのリンクが誤ったクラスへのリンクになっていたのを修正しています。


Fix TimeWithZoneTest to correctly test beginning_of_minute

activesupport/test/core_ext/time_with_zone_test.rbの修正です。

beginning_of_minuteメソッドのテストで、beginning_of_hourのテストをしていたのを修正しています。