Validating user inputs in the controller

Is there any way that I can validate user inputs [ forms field values ]
in the controller instead of model? Or which is the best way for

Please suggest

you can validate in the controller by rolling your own validations if
you really wanted. But unless you’re doing something out of the
ordinary, you should keep your validations in the model, where they


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs