Forum: Ruby on Rails creating a form_for with field values?

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.
Heinz S. (Guest)
on 2009-03-06 16:04
Hey guys,

I'm having a problem creating a form with field values.

I'm using form_for and don't really know how to access the field values.

I've got a table character_attributes and character_attribute_types.
character_attribute_types contains following data:
id name
X  hiding
X  strength

id character_attribute_type_id value character
X  1                           80    1
X  2                           46    1
X  1                           93    2
X  2                           62    2

How would you create a form to set all characte_attributes? I'm out of
ideas atm.
Heinz S. (Guest)
on 2009-03-10 12:29
Still having this problem, is there no proper way to do it?
This topic is locked and can not be replied to.