Creating a form_for with field values?


#1

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
etc.

character_attributes:
id character_attribute_type_id value character
X 1 80 1
X 2 46 1
X 1 93 2
X 2 62 2
etc.

How would you create a form to set all characte_attributes? I’m out of
ideas atm.


#2

Still having this problem, is there no proper way to do it?