I have a hash that contain a group of post, i render this hash on html.
I
want that with a checkbox the person can select the post to save it on
the
database.
Somebody know how to do this, i dont understant the check_box_tag.
–
Felipe V. Contesse
IngenierÃa Civil Industrial UC
I have a hash that contain a group of post, i render this hash on
html. I want that with a checkbox the person can select the post to
save it on the database.
Somebody know how to do this, i dont understant the check_box_tag.
check_box_tag isn’t particularly magic. It does just create a checkbox
with the specified name. What’s in your hash (what are the keys/values)
@person=Person.find_by_id(params[:id])
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
–
~N a r e n
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.