Fix rdoc of ActiveRecord::Associations::CollectionProxy#replace [ci skip]

This commit is contained in:
Shinpei Noda 2019-08-27 11:24:50 +09:00
parent 24f1f822e3
commit 21972c35e7
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ module ActiveRecord
# person.pets
# # => [#<Pet id: 1, name: "Gorby", group: "cats", person_id: 1>]
#
# other_pets = [Pet.new(name: 'Puff', group: 'celebrities']
# other_pets = [Pet.new(name: 'Puff', group: 'celebrities')]
#
# person.pets.replace(other_pets)
#