なるようになるブログ

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

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

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

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


Correct SQL query in where.not docs [ci skip]

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

where.notのdocにあるexampleコード内のSQLの実行例が実際の結果と異なる内容になっていたのを修正しています。


Support fixture associations for composite models

activerecord/lib/active_record/fixture_set/table_row.rbactiverecord/lib/active_record/fixtures.rbの修正です。

fixtureのassociationのbuild処理にcomposite primary keyを使用しているmodelのサポートを追加しています。


Adds documentation for the FixtureSet#identify when the identifier is a UUID

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

fixtureのdocにidentifierにUUIDを使用している場合のActiveRecord::FixtureSet.identifyの使用方法についての説明を追加しています。


Fix NoMethodError in dev.rb when skip-active-job

railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.ttのの修正です。

rails new--skip-active-jobオプションを指定した場合にもActive Jobに関するconfigがdevelopment.rbに追加されてしまっていたのを修正しています。


Merge pull request #47933 from renny-ren/update-sse-docs

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

ActionController::Liveのdocに、ActionController::LiveをRack 2.2系で動作させる場合に必要なheaderについての説明を追加しています。


Document config.rake_eager_load in the autoloading guide

rails guideのAutoloading and Reloading Constantsの修正です。

Eager Loadingの項にRaks taskのeager loadについての説明を追加しています。


User a relative link here

rails guideのAutoloading and Reloading Constantsの修正です。

先の対応で追加されたConfiguring guideへのリンクを相対パスに修正しています。


Fix typo: has -> hash

activerecord/test/cases/fixtures_test.rbの修正です。

hashhasにタイポしていたのを修正しています。