This may depend on what you want to do with those keywords: 1) Nothing: When why keep them at all? Run the search and forget them Or redisplay in the searchbox for next search, for that you can still get them from the params at this stage.
2) Keep the actual search for redisplay next time the user comes back You could keep them in the session, but would lose them if the user logs out. 3) Run statistics what users are searching Then you must keep them in the database So I think there is not that much use in keeping them in the session. Keeping them in the database makes sense if you store every single search. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---