Fix typo: `has_many :pets`, not `pets :has_many`.