Replies: 1 comment
-
Hi, you'll have to write custom validations for these parameters inside your Rodauth configuration, see this guide. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
is there any recommended way to run Rails validations while creating account. I'd like to use classical Rails validations for additional attributes in Account model.
Example model:
When I try to create an account via JSON API, I'd like to validate these attributes. Unfortunately, I couldn't find out a way how to run them and in case of any validation errors to return these validation errors in the JSON response. Something like
Beta Was this translation helpful? Give feedback.
All reactions