2018/07/18分のコミットです。
CHANGELOGへの追加はありませんでした。
activestorage/test/models/attached/many_test.rb
の修正です。
attachmentのreplaceのテストから不要なtap
処理を削除しています。
Merge pull request #33375 from utilum/stub_leftover
Active Recordのテストの修正です。
不要なMocha#stubs
の削除、及び、Mocha#stubs
のMinitest#stub
への置換えを行っています。
Add situation for belongs to association. [ci skip]
rails guideのActive Record Associations
の修正です。
The belongs_to Association
の項の注記部分、belongs_to
associationにはsingular termを使う必要がある旨説明している箇所で、エラーが発生するコードの具体例を追加しています。
Add example for has-and-belongs-to-many
association. [ci skip]
rails guideのActive Record Associations
の修正です。
The has_and_belongs_to_many Association
の項に、 has-and-belongs-to-many associationを使用している場合にrecordを作成する方法についての説明を追加しています。
が、既に他の箇所で同様の説明がされており、後ほどrevertされています。