なるようになるブログ

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

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

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

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


Allow statement nodes' initializer takes a table

Active Recordの修正です。

tree managerと同様に、statement nodeのinitializerの引数にtableを指定出来るよう修正しています。


Update external links in security guide

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

リンク切れになっていた外部リンクのURLを修正しています。


Fix typo in Rails autoloading guide

rails guideのAutoloading and Reloading Constants (Zeitwerk Mode)の修正です。

Autoload Pathsの項のグラマーの修正を行っています。


Fix ActionMailer's deliver later default queue

actionmailer/lib/action_mailer/base.rbのdocの修正です。

ActionMailer::Baseのdoc内に記載されているdefaul queueの値が実際の値と異なっていたのを修正しています。


Merge pull request #41613 from kamipo/fix_aggregate_attribute_on_enum_type

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

enum typeに対してaggregateした場合の結果が、type castした結果になっていたのを、numeric valueをそのまま返すよう修正しています。 Rails 6.0までと振る舞いを合わせる為(breaking changeになってしまっていた為)。


Fix phone_to API documentation sample output

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

phone_toメソッドのdoc内にある実行例の結果が、実際の結果と異なっていたのを修正しています。