Hi, I just implemented the advanced search functionality described in http://railscasts.com/episodes/111 Does someone you have some links where i can find information about storing the user''s search results in the database and show them when they login. Grtz..remco -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
As far as I can tell the idea is not to save the search results, but the search parameters. In order to bring up the search results when the user logs in again, just rerun the search with the stored parameters from the model. Is this not sufficient? On May 28, 7:51 am, Remco Zwaan <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > I just implemented the advanced search functionality described inhttp://railscasts.com/episodes/111 > > Does someone you have some links where i can find information about > storing the user''s search results in the database and show them when > they login. > > Grtz..remco > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
you can save search parameters in database and then reexecute when user log back in --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Harold wrote:> As far as I can tell the idea is not to save the search results, but > the search parameters. > In order to bring up the search results when the user logs in again, > just rerun the search with the stored parameters from the model. Is > this not sufficient? > > On May 28, 7:51�am, Remco Zwaan <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>I am a newbie..so if you now some examples/links about "saving user-search parameters in database and then reexecute when user log back in" it would be a nice start to implement this kind of feature in my website.... remco -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---