I want to have customized error and other response handling…like when a
user is created, I want to show user that his account has been
created…or when logging in he has provided login info…
how can I do that?
Vapor R. wrote:
I want to have customized error and other response handling…like when a
user is created, I want to show user that his account has been
created…or when logging in he has provided login info…
how can I do that?
Use
flash messages
in your controller
flash[:notice]
in your view
<%= flash[:notice] %>