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

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.

blah blah blah

blah 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?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs