i pass and save muliple paramters between different views with different
models?
what i am trying to do use instead of the user filling out forms to
search my database, i just want them to click on links. the first link
selects data from one table and then a different view of links will be
displayed. the user will then click on a new link but i will need to
also know what the user clicked previous to be able to grab the correct
information…
thoughts? i am reading the session part of agile development with rails
right now.
you can use a before_filter, in this before filter you can store the
user
click info in a stack, that way you will have the eariles click info on
the
top and oldest on the bottom. Store this stack in the session.
If you want to store parameters you can do that too just put the params
object in session.