You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's strange the uniqe validator is not working, since it just searches the model for that property. You can have your own unique validator, maybe you can spot the bug :p
Maybe the beforeSave should be before validations to allow people to make changes. The idea of custom getters/setters is not bad but maybe not now, I'm still cleaning bugs from last version. Let us stabilise as much as possible before that.
Activity
dresende commentedon Mar 5, 2013
It's strange the uniqe validator is not working, since it just searches the model for that property. You can have your own unique validator, maybe you can spot the bug :p
Maybe the
beforeSaveshould be before validations to allow people to make changes. The idea of custom getters/setters is not bad but maybe not now, I'm still cleaning bugs from last version. Let us stabilise as much as possible before that.Moves hook beforeSave to before checking validations (#66)
dresende commentedon Mar 5, 2013
Try now:
dxg commentedon Mar 5, 2013
Thanks, that fixes it.
Ok.