なるようになるブログ

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

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

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

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


Merge pull request #46478 from jonathanhefner/app_generator_test-run_generator_and_bundler

railties/test/generators/app_generator_test.rbの修正です。

app generatorのテストで、Bunlderのstub処理をメソッドに切り出しています。


Fix typos [ci-skip]

docの修正です。

各docのタイポの修正を行っています。


Format inline code [ci-skip]

docの修正です。

doc内のメソッド名やファイル名などのフォーマットが正しく指定されてない箇所があったのを修正しています。


Auto-link code references [ci-skip]

docの修正です。

doc内で他のメソッドなどを言及している箇所で、そのメソッドのAPI docにリンクがされるよう修正しています。


Remove unnecessary link markup [ci-skip]

docの修正です。

doc内で他のメソッドなどを言及している箇所で、不要なリンクのマークアップの記述があったのを削除しています。


Document ActiveModel::Type::Time as time of day [ci-skip]

activemodel/lib/active_model/type/time.rbのdocの修正です。

ActiveModel::Type::Timeのdoc内のコードexampleを、ActiveModel::Type::Timeに渡された文字列はdateとtime zoneが自動でノーマライズされる(timeの値のみ指定された値が使用される)、という挙動ががわかるよう修正しています。


Replace ActionController::UrlFor references [ci-skip]

actionpack/lib/action_dispatch/routing/url_for.rbのdocの修正です。

現在は存在しないActionController::UrlForを参照している箇所があったのを、移行後のクラスであるActionDispatch::Routing::UrlForを参照するよう修正しています。


Tweak AD::Http::FilterParameters code example [ci-skip]

actionpack/lib/action_dispatch/http/filter_parameters.rbのdocの修正です。

ActionDispatch::Http::FilterParametersのdoc内の、挙動についての説明の言い回しの修を行っています。


Update ActionController::UrlFor request contract [ci-skip]

actionpack/lib/action_controller/metal/url_for.rbの修正です。

ActionController::UrlForのdoc内の、request変数の挙動について、現在と挙動と異なっている説明になっていたのを修正しています。


Clarify numeric casting behavior for blank strings [ci-skip]

Active Modelのdocの修正です。

numeric casting処理で、空文字が指定された場合の挙動についての説明を追加しています。


Elaborate doc for attribute read and write methods [ci-skip]

Active Recordのdocの修正です。

attributeのread、writeメソッドの挙動についての詳細な説明を追加しています。


Add *_check_constraint actions to Migrations guide [ci-skip]

rails guideのActive Record Migrationsの修正です。

Migrationメソッドの一覧に、check_constraint関連のメソッドを追加しています。


Use yaml code fence [ci-skip]

rails guideのThe Rails Command Lineの修正です。

yamlのexampleを記載している箇所のコードハイライトが正しく表示されるよう修正しています。


Fix link to "Conditional GET Support" section [ci-skip]

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

他guideへのリンク先の指定が誤っている箇所があったのを修正しています。


Add MDN links for security headers [ci-skip]

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

HTTPヘッダーについて説明している箇所に、MDNへのリンクを追加しています。


Fix Active Record Encryption credentials example [ci-skip]

rails guideのActive Record Encryptionの修正です。

Rotating Keysの項にあるyamlのexampleで、keyの指定が誤っていたのを修正しています。


Merge pull request #46485 from RubyElders/nodoc-all-arel-files

activerecord/lib/arel/filter_predications.rbactiverecord/lib/arel/nodes/filter.rbのdocの修正です。

private APIであるArelのfilter関係のclassがAPI docに表示されないよう修正しています。


Merge pull request #46484 from RubyElders/leading-join-node-namespace

Active Recordの修正です。

Arel::Nodes::LeadingJoinクラスがActiveRecord::QueryMethods module配下に定義されていたのを、Arel module配下で定義するよう修正しています。