Forum: Ruby on Rails checkboxes for downloading data via activerecord

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D9e14f1be0972ff1f393cc87dbd072e1?d=identicon&s=25 George George (tanzanite)
on 2007-04-26 01:46
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 topic is locked and can not be replied to.