なるようになるブログ

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

rails commit log流し読み(2022/05/11)

2022/05/11分のコミットです。

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

activemodel/CHANGELOG.md

activerecord/CHANGELOG.md


Merge pull request #44370 from mohits/patch-1

tasks/release_announcement_draft.erbの修正です。

gemのリリースアナウンス内のrelease tagへのリンクを、各gemの詳細の説明より前に入れるよう修正しています。


Use the CSS badge for the API docs as well

sdocのバージョンを2.4.0に更新、及び、badgeを表示するのに画像ではなくcssを使用するよう修正しています。


Merge pull request #45052 from yahonda/strscan_302

Gemfile.lockの修正です。

strscan gemのバージョンを3.0.2に更新しています。複数バージョンのstrscanがある場合に、inline templateが異なるバージョンのgemをロードしてしまいエラーになるという問題があり、その問題を避ける為にロードされるgemを最新のバージョンに統一する為。


Rename Guides "Contributions" section to "Contributing" [ci-skip]

guides/source/documents.yamlの修正です。

Contributing to Ruby on Rails guideのセクション名をContributionsからContributingに変更しています。


Fix getting column default from VIEW in mysql

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

MySQLのVIEW対してqueryメソッドを実行するとNoMethodErrorがraiseしてしまうバグがあったのを修正しています。


Fix casting long strings to Date, Time or DateTime

Active Modelの修正です。

DateTime、または、DateTime型のattributeに129文字以上の文字列を指定した場合に、cast処理でArgumentErrorがraiseしてしまうバグがあったのを修正しています。


Allow using aliased attributes with insert_all/upsert_all

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

insert_all/upsert_allにaliased attributesを指定出来るよう修正しています。


Update guides/source/form_helpers.md

rails guideのAction View Form Helpersの修正です。

Nested Formsの項の言い回しを修正しています。