Single database field --> multiple fields on form


#1

I’m trying to figure out how to break a single database field
up into multiple fields on a form.

I know this can be done with dates, but I need a generic form (I want to
break my single database field up into >50 forms).

Thanks in advance,
Bas


#2

I think I’ve found an answer in the following:

“Saving arrays, hashes, and other non-mappable objects in text columns”
on http://ar.rubyonrails.com/classes/ActiveRecord/Base.html

text_field also has the :index option, although I haven’t found any
official documentation on it: see http://rahmcoff.livejournal.com/