search for: validateoninvite

Displaying 1 result from an estimated 1 matches for "validateoninvite".

Did you mean: validate_on_invite
2013 Sep 26
0
Devise Invitable and Validations -- what's the right way to do this?
...ated, but the error messages are incorrect[1]. I also tried adding regular validations on the model, but they aren''t being called at all (only the built-in e-mail error is handled). When I tried adding validate_on_invite to my model, I got an error: uninitialized constant Devise::Models::ValidateOnInvite when I started the application. Is there an example somewhere showing how to configure the model to validate custom fields on invitations? Thanks! Walter 1. Just to clarify what I mean by error messages are incorrect: If all the fields are left blank, there is an error on each field saying &quo...