All,
I have a controller action that will do a different “render (:action)”
call
depending on whether or not data is valid.
When the data is invalid - I set a flash element to hold a message.
However, when I post back to this controller action and have valid data,
I still have the flash element set, which I don’t want.
I believe this is because I did a render from the initial controller
call.
Do I need to use flash.now in this case because I haven’t really
generated a new controller instance?
Thanks,
Wes