2022/06/14分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Delegate model generator description to orm hooked generator.
- Correctly check if frameworks are disabled when running app:update.
change_column_null
raises if a non-boolean argument is provided- Resolve issue where a relation cache_version could be left stale.
- Add support for exclusion constraints (PostgreSQL-only).
activejob/CHANGELOG.md
Merge pull request #45315 from gmcgibbon/hook_generator_description
railtiesの修正です。
model generatorのdescriptionをorm hooked generatorのdescriptionにdelegateするよう修正しています。
Merge pull request #45318 from mihaic195/fix/local-cache-method-signature
activesupport/lib/active_support/cache/strategy/local_cache.rb
の修正です。
local cache storeの一部メソッドのsignatureが他のcache storeと一致していないバグがあったのを修正しています。
Merge pull request #45285 from fatkodima/timestamptz-date
activerecord/lib/active_record/connection_adapters/postgresql/oid/timestamp_with_time_zone.rb
の修正です。
PostgreSQLのtimestamptz
columnにDat
オブジェクトを指定した場合に正しく動作しないバグがあったのを修正しています。
change_column_null
should raise if a non-boolean 3rd argument is provided
Active Recordの修正です。
change_column_null
メソッドの第三引数に想定していないboolean以外の値が指定された場合に、ArgumentError
をraiseするよう修正しています。
Add info and fix command description [ci-skip]
rails guideのThe Rails Command Line
の修正です。
各種箇所の言い回しの修正や、rails new --help
の表示内容を最新の情報に更新しています。
Add more detailed description to job generator
activejob/lib/rails/generators/job/job_generator.rb
の修正です。
job generatorに詳細なdescriptionを追加しています。
Make secret_key_base doc more explicit
rails guideのConfiguring Rails Applications
の修正です。
config.secret_key_base
についての詳細な説明を追加しています。
Zeitwerkの依存バージョンを2.6以上に修正しています。
Improve API Documentation Guidelines [ci-skip]
rails guideのAPI Documentation Guidelines
の修正です。
各箇所の言い回し、グラマーの修正を行っています。
Add notes on how to exit the debugger [ci-skip]
rails guideのDebugging Rails Applications
の修正です。
Entering a Debugging Session
の項に、debuggerの終了方法についての説明を追加しています。
adds support for exclusion constraints (PostgreSQL-only)
Active Recordの修正です。
PostgreSQLのexclusion constraintsのサポートを追加しています。
add_exclusion_constraint :invoices, "daterange(start_date, end_date) WITH &&", using: :gist, name: "invoices_date_overlap" remove_exclusion_constraint :invoices, name: "invoices_date_overlap"
参考: CREATE TABLE ... EXCLUDE ...
Correctly check if frameworks are disabled when running app:update
railties/lib/rails/app_updater.rb
の修正です。
app:update
実行時のframeworkが有効になっているかのチェック処理で、Action Text等のframeworkのチェック処理が不足していたのを修正しています。
Reset cache_versions on relation
activerecord/lib/active_record/relation.rb
の修正です。
relationのreset
メソッド実行時にcache_version
の値もリセットするよう修正しています。
Merge pull request #45277 from p8/guides/fix-guide-dropdown-on-home
guides/assets/javascripts/guides.js
の修正です。
small screen等guideのselect boxが表示される場合に、/
にいる時にselect boxの現在の値が正しく表示されていなかったのを修正しています。