Creating a form_for with field values?

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.

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs