```ruby
class Plan < ApplicationRecord
	belongs_to :user
	has_many :recipes

end```

Add dependent destroy option to has_many ingredients relationship
user
```ruby
class Plan < ApplicationRecord
	belongs_to :user
	has_many :recipes, dependent: :destroy

end```
assistant