Tanzanite Tanzanite
2007-Apr-25 23:46 UTC
checkboxes for downloading data via activerecord
Hi Guys! i have a set of stories stored in a database, each with an associated unique title, and obviously an id as a primary key as follows: --------------------------------- Story_id ---FK, integer Topic ---Unique, varchar Story---Text ----------------------------------- i have implemented a fuzzy search such that one can search for a story by topic or by words in the story (acts_as_ferret did the magic!). Now given some hits, i want people to be able to use a check-box and select a story or stories from the hits and download them as ascii text files using the format below.>topic1blah blah blah>topic2blah blahbla ..... how can i create a set of checkboxes each unique to a hit and can be used to select stories to download? Which is the easiest way to do this? Thanks -- 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 -~----------~----~----~----~------~----~------~--~---