Forum: Ruby on Rails single database field --> multiple fields on form

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bas (Guest)
on 2006-04-09 14:48
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
Bas (Guest)
on 2006-04-09 18:00
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/
This topic is locked and can not be replied to.