I am considering using the flash to store intermediate data between
requests that is more than just a status type message.
For instance, if a user searches for some items, I will render the
items to them keyed with the item.id and store the items in a
flash[:items] for subsequent interactions with them (I don’t plan on
keeping more than a dozen of these per user at a time). This will
allow me to just have the item.id sent between requests to manipulate
the items. In addition, in my particular case, there is no easy way
to re-build an item from just its id (I am pulling them from an
Does this sound like a reasonable approach?
Any feedback is appreciated.