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するよう修正しています