created a related model so for Dog has_one :treat and for Treat has_many: dogs