Closed zedtux closed 2 years ago
Closes #288
This PR fixes running Model.where(...).first_or_create.
Model.where(...).first_or_create
The NoBrainer documentation needs to be updated in order to tell about the uniq: true or unique: true option to be set in order to get the first_or_create to work.
uniq: true
unique: true
first_or_create
Closes #288
This PR fixes running
Model.where(...).first_or_create
.The NoBrainer documentation needs to be updated in order to tell about the
uniq: true
orunique: true
option to be set in order to get thefirst_or_create
to work.