Skip to content

use first_or_create to avoid ingredient duplication#1

Open
casecode wants to merge 1 commit intodrjorgepolanco:masterfrom
casecode:master
Open

use first_or_create to avoid ingredient duplication#1
casecode wants to merge 1 commit intodrjorgepolanco:masterfrom
casecode:master

Conversation

@casecode
Copy link

@casecode casecode commented Dec 5, 2014

This will solve the problem of duplicate ingredients. But, I noticed that you seem to be ignoring the recipes through relationship.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant