{"error": {"parameter": "widget_color", "code": "123", "message": "Unknown widget color: chartreuse"}
Currently Devise is returning user errors like {"error": "Invalid password"}.
Is there a good way for me to capture all errors before they are returned and format them?
(I know variants of this question have been asked several thousand times, but a lot of answers are outdated, and none is very complete. If I can get a good general direction, I will be happy to write a How-To guide for the wiki).
Thanks in advance.
Tom H
On Wednesday, May 23, 2012 at 9:55 AM, Tom Harrison wrote:
outdated