There is a feature called \'flash\' in ruby on rails where you can put a message in \'flash\', redirect, and the message is available in the next action.
Example of
I think this would make you happy. https://github.com/khalidabuhakmeh/MvcFlash