2021/06/23分のコミットです。
CHANGELOGへの追加はありませんでした。
Fix the turbolinks npm -> github reference
railties/lib/rails/generators/app_base.rbの修正です。
turbolinks npmのmainブランチの指定方法が誤っていたのを修正しています。
Migrate asset pipeline to modern javascript
rails guideのThe Asset Pipelineの修正です。
exampleコードにjQueryを使用している箇所があったのを、素のJavaScriptを使用するよう修正しています。
Documentation for ActionController::API use neutral language [ci skip]
actionpack/lib/action_controller/api.rbのdocの修正です。
ActionController::APIのdoc内のbrothersをsiblingsに修正しています。gender-neutral languageを使用するようにする為。
Test cleanup for cache store tests
Active Supportのテストの修正です。
テストなのにメソッド名がtest_で始まっていないメソッドがあったのを修正しています。
activerecord/lib/active_record/persistence.rbの修正です。
upsert_allメソッドから使用していないupdate_sql引数を削除しています。
Optimized Cache::Entry should support old dalli_store values
activesupport/lib/active_support/cache.rbの修正です。
Cache::Entryで、古いRailsのバージョンで作成したdalli_storeのvalueをloadすると、エラーになってしまうバグがあったのを修正しています。
Merge pull request #41513 from kassio/include-associated-record-in-activerecord-recordnotsaved
Active Recordの修正です。
ActiveRecord::RecordNotSaved exceptionが発生した場合に、エラーになったrecordの情報をexceptionの含むよう修正しています。
Merge pull request #42551 from p8/guides/activestorage-authenticated-redirect-example
rails guideのActive Storage Overviewの修正です。
Active Storageで生成するURLを認証出来るURLにする為の方法について説明した、Authenticated Controllersを追加しています。
Merge pull request #38198 from eikes/migrations-guides-references-section
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rbのdoc、及び、rails guideのActive Record Migrationsの修正です。
ConnectionAdapters::SchemaStatements#add_columnメソッドのdocに:comment、:collationオプションについての説明を追加、及び、guideにreference関連のメソッドについて説明したReferencesセクションの追加、等を行っています。
Use relative anchor link since this is the same file [ci skip]
rails guideのActive Storage Overviewの修正です。
ページ内リンクから不要なガイド名の指定を削除しています。
Update link to "Serving Files" header changed previously [ci skip]
rails guideのActive Storage Overviewの修正です。
representable?メソッドのdocのリンク先が誤っていたのを修正しています。
[ci skip] Enhance delegated types example & schema
activerecord/lib/active_record/delegated_type.rbのdocの修正です。
DelegatedTypeのexampleコードを、特定のコンポーネントに依存しない形に修正しています。
rails guideのActive Record Migrationsの修正です。
associationsをassocationsにタイポしていたのを修正しています。
Move test to more correct file
activerecord/test/cases/connection_adapters/connection_handler_test.rb、
activerecord/test/cases/connection_adapters/connection_swapping_nested_test.rbの修正です。
connection swappingのテストをactiverecord/test/cases/connection_adapters/connection_handler_test.rbに移動しています。
Fix nil pool_config in legacy connection handling
activerecord/lib/active_record/connection_adapters/legacy_pool_manager.rbの修正です。
Raise an error if pool_config is nil in set_pool_configで対応したのと同様に、legacy connection handlingでもpool_config引数がnilの場合、ArgumentErrorをraiseするよう修正しています