2021/11/02分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Use subquery for UPDATE with GROUP_BY and HAVING clauses.
- Use subquery for DELETE with GROUP_BY and HAVING clauses.
Document testing in the autoloading guide
rails guideのAutoloading and Reloading Constants
の修正です。
autoloadingに関するテストについての説明を記載したTesting
セクションを追加しています。
Extract AbstractAdapter#schema_version
Active Recordの修正です。
connectionからschema versionを取得する為のメソッド(AbstractAdapter#schema_version
)をpublic APIとして追加しています。
rails guideのAutoloading and Reloading Constants
の修正です。
code blockにlangの指定を追加しています。
Merge pull request #43465 from ignacio-chiazzo/group_update_all
Active Recordの修正です。
UPDATEにGROUP_BY と HAVING 句を指定した場合、それらが無視されてしまっていたのを、UPDATEのsubqueryとして使用するよう修正しています。
Merge pull request #43569 from dorianmariefr/remove-seamless-iframe-attribute
railties/lib/rails/templates/rails/mailers/email.html.erb
の修正です。
現在どのブラウザでもサポートされていないseamless
attributeをiframe tagから削除しています。
Merge pull request #43554 from HParker/improve-job-test_helper-error-messages
activejob/lib/active_job/test_helper.rb
の修正です。
Active Jobのtest helperが提供しているassertionsでエラーになった場合のメッセージを改善しています。
Document new executor_around_test_case in the guides
rails guideのConfiguring Rails Applications
の修正です。
Call Executor#wrap around each testで追加されたconfig.active_support.executor_around_test_case
についての説明を追加しています。
Avoid adding new method to ActiveSupport
.
Active Support、railtiesの修正です。
Fixes namespaced UUID generation for namespace IDs represented as stringsで追加されたconfig.active_support.use_rfc4122_namespaced_uuids
について、guideやnew_framework_defaults_7_0.rb.tt
に説明を追加、及び、Active Supportに追加したActiveSupport.use_rfc4122_namespaced_uuids
を削除しています。Active Supportにメソッドを追加する必要が無い(Digest::UUID.use_rfc4122_namespaced_uuids
を直接呼べば良い)為。
Merge pull request #43580 from ignacio-chiazzo/ignacio/delete_all
Active Recordの修正です。
DELETeにGROUP_BY と HAVING 句を指定した場合、それらが無視されてしまっていたのを、DELETEのsubqueryとして使用するよう修正しています。
Optimize CurrentAttributes method generation
Active Model、Active Supportの修正です。
CurrentAttributesのmethod生成処理について、性能改善の為のリファクタリングを行っています。