Rails has the concept of flash. This is where the Params object, or any other content can be held for exactly one request after a redirect. The perfect place for this is on a Message such as success, warning, or failure. This also permits the previous object submitted to be available for a following request whether-or-not they have been persisted to a database.
Rails has the concept of flash. This is where the Params object, or any other content can be held for exactly one request after a redirect. The perfect place for this is on a Message such as success, warning, or failure. This also permits the previous object submitted to be available for a following request whether-or-not they have been persisted to a database.