Hey, I've been pondering about this for a while, or at least the best way to achieve this. It's a fairly common thing, but I can't seem to wrap my head around it for whatever reason.
So, say a user submits a form, and whatever he sent you is "invalid". What next? * Need to redirect somewhere else. Maybe back to the "new" form? * Need to have the invalid object available, to show pertinent validation messages. Do I put the object in the session and have the "new" action try to read it from there? * Maybe I don't want to have a big red box on top showing all the error messages. Any "easy" way to display a field's error message next to the field itself? Any tips in this regard are greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
