2023/01/09分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #46923 from fatkodima/fix-grouped-calculations-joins-same-column
activerecord/lib/active_record/relation/calculations.rb
の修正です。
joinしたtableに対するcalculation処理で、join元と先のtableで同じカラムがあり、そのカラムに対して処理を行う場合に正しく結果が取得出来ないバグがあったのを修正しています。
rails guideの修正です。
各guideのタイポをまとめて修正しています。
Clarify instructions for testing new plugin [ci-skip]
rails guideのThe Basics of Creating Rails Plugins
の修正です。
Testing Your Newly Generated Plugin
の項の言い回しを修正しています。
Clarify usage of data-turbo-confirm [ci-skip]
rails guideのWorking with JavaScript in Rails
の修正です。
Confirmations
の項の言い回しを修正しています。
Indent private methods in code examples [ci-skip]
docの修正です。
exampleコード内のprivateメソッドのインデントを調整しています。
Fix typos in API docs [ci-skip]
docの修正です。
doc内のタイポを修正しています。
docの修正です。
dcoのフォーマットの修正を行っています。
Document AD::Request::RFC* constants individually [ci-skip]
actionpack/lib/action_dispatch/http/request.rb
のdocの修正です。
ActionDispatch::Request
配下のRFC関連の定数のドキュメントがまとめて記載されていたのを、定数毎にわけて記載するよう修正しています。
Reference AS::Deprecation instance methods [ci-skip]
activesupport/lib/active_support/deprecation/disallowed.rb
の修正です。
deprecationメッセージの挙動を設定する方法について説明している箇所で、ActiveSupport::Deprecation
のインスタンス毎に挙動設定する方法の説明を記載するよう修正しています。
Coordinate FilterParameters and ParameterFilter docs [ci-skip]
actionpack/lib/action_dispatch/http/filter_parameters.rb
、
activesupport/lib/active_support/parameter_filter.rb
のdocの修正です。
ActionDispatch::Http::FilterParameters
からfilter処理に関する説明を削除し、代わりにActiveSupport::ParameterFilter
へのリンクを追加しfilter処理の詳細はそちらを参照するよう説明を修正しています。
Clarify caveats of parameterized association scope [ci-skip]
activerecord/lib/active_record/associations.rb
のdocの修正です。
parameterized associationに対するjoin / eager load処理の注意事項について説明している箇所の言い回しを修正しています。
Document increment order for {Date,etc}#advance [ci-skip]
docの修正です。
Date#advance
、Time#advance
、DateTime#advance
のdocに異なる項目に対してincrement処理を同時に行った場合の挙動についての説明を追加しています。
Document EncryptedConfiguration#read [ci-skip]
activesupport/lib/active_support/encrypted_configuration.rb
のdocの修正です。
EncryptedConfiguration#read
メソッドのdocの説明を修正しています。
Document EncryptedConfiguration access methods [ci-skip]
activesupport/lib/active_support/encrypted_configuration.rb
のdocの修正です。
ActiveSupport::EncryptedConfiguration
classにdocを追加しています。
Document EncryptedConfiguration#config [ci-skip]
activesupport/lib/active_support/encrypted_configuration.rb
のdocの修正です。
EncryptedConfiguration#config
メソッドにdocを追加しています。
Revise Rails::Application#credentials doc [ci-skip]
railties/lib/rails/application.rb
のdocの修正です。
Rails::Application#credentials
メソッドのdocの言い回しを修正しています。
Revise Rails::Application#encrypted doc [ci-skip]
railties/lib/rails/application.rb
のdocの修正です
Rails::Application#encryped
メソッドのdocの言い回しを修正しています。
Replace RFC 2616 links [ci-skip]
docの修正です。
cacheに関して説明している箇所で古いRFC(RFC 2616)にリンクしている箇所があったのを、新しいRFC(RFC 9111)やMDNへのリンクに修正しています。
Clean up ConditionalGet#fresh_when doc [ci-skip]
actionpack/lib/action_controller/metal/conditional_get.rb
のdocの修正です。
ConditionalGet#fresh_when
メソッドのdocについてフォーマットやタイポの修正を行っています。
Clean up ConditionalGet#stale? doc [ci-skip]
actionpack/lib/action_controller/metal/conditional_get.rb
のdocの修正です。
ConditionalGet#stale?
メソッドのdocについてフォーマットやタイポの修正を行っています。
Revise ConditionalGet#expires_in doc [ci-skip]
actionpack/lib/action_controller/metal/conditional_get.rb
のdocの修正です。
ConditionalGet#expires_in
メソッドのdocについてフォーマットの修正やオプションの説明の追加などを行っています。
Document ActionController::Rendering#render [ci-skip]
docの修正です。
ActionController::Rendering#render
メソッドにdocの追加、及び、関連する処理のdocの修正を行っています。
Fix link to association_basics.html guide
rails guideのActive Record Basics
の修正です。
Active Record Associations guideのリンク先が誤っていたのを修正しています。
Add changelog for #46858 since it affects railties default middleware stack
railties/CHANGELOG.md
の修正です。
config.hosts
の指定が空の場合不要なActionDispatch::HostAuthorization
middlewareをrack middlewareの一覧に追加しないよう修正した、Only use HostAuthorization if configuredの対応についてrailtiesのCHANGLOGにもエントリーを追加しています。
Fix compatability between tests and Sidekiq 6.5
activejob/test/support/integration/adapters/sidekiq.rb
の修正です。
Sidekiq 6系でもテストが通るよう、Sidekiq 7系で追加された定数は使わないよう修正、及び、configの設定がSidekiq 6系でも行われるよう修正しています。
Merge pull request #46927 from ghiculescu/missing-associated-guide-v2
rails guideのActive Record Query Interface
の修正です。
where.associated and where.missing
にあるexampleコードで生成されるSQLの例が実際の結果と異なっていたのを修正しています。