If the supplied array has an incorrect association type, it raises an ActiveRecord::AssociationTypeMismatch error: person.pets.replace(["doo", "ggie", ...
確定! 回上一頁