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.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---