2023/09/11分のコミットです。
CHANGELOGへの追加はありませんでした。
Add negative where
examples for normalizes
Active Recordの修正です。
normalizes
+ where
のexampleに、where
にkeyword argumentを使用しない場合の例を追加しています。keyword argumentでない場合はnormalizes
は適応されず、それがわかるようにするため。また、重複した内容の不要なテストを合わせて削除しています。
Tweak summary of normalizes
in CHANGELOG [ci-skip]
activerecord/CHANGELOG.md
、rails guideのRuby on Rails 7.1 Release Notes
の修正です。
normalizes
メソッドに関する説明の言い回しやフォーマットの修正を行っています。
Tweak summary of generates_token_for
in CHANGELOG [ci-skip]
activerecord/CHANGELOG.md
、rails guideのRuby on Rails 7.1 Release Notes
の修正です。
generates_token_for
メソッドに関する説明の言い回しやフォーマットの修正を行っています。
Fix ActiveRecord::TokenFor documentation [ci-skip]
activerecord/lib/active_record/token_for.rb
のdocの修正です。
generates_token_for
メソッドのdocのフォーマットの修正を行っています。
Describe AS::MessagePack in 7.1 release notes [ci-skip]
rails guideのRuby on Rails 7.1 Release Notes
の修正です。
ActiveSupport::MessagePack
についての説明を追加しています。
Merge pull request #49213 from akhilgkrishnan/action-config-removal-release-note
rails guideのRuby on Rails 7.1 Release Notes
の修正です。
AbstractController::Translation.raise_on_missing_translations
を削除した対応について説明を追加しています。
Suggest using composite primary key on join tables in :through
associations
rails guideのActive Record Associations
の修正です。
Choosing Between has_many :through and has_and_belongs_to_many
の項に、has_and_belongs_to_many
を使用する場合はjoin tableでcomposite primary keyを使用する事を提案する旨の説明を追加しています。
Rails supports but does not recommend non-PK id
column
rails guideのActive Record Basics
の修正です。
Active Recordではprimary keyでないid
columnを使用する事を推奨していないのですが、使用した場合にどのような問題があるかの説明を追加しています。
[ci skip] Fix typo in association guides
rails guideのActive Record Associations
の修正です。
create_table
にcomposite primary keyを指定するexmaple内のタイポを修正しています。