I have a model which contains a hash of boolean items, like this: @role_flags={"Owner"=>0, "Administrator"=>0, "User"=>0, "Teacher"=>0, "HoD"=>0, "Timetabler"=>0} I would like to use form.check_box to generate check_box fields for each item but I can''t work out the way to pass the individual entries in the hash to form.check_box - neither the Pragmatic book nor the Rails on-line documentation seems to cover it. I''m pretty new to Ruby so please excuse me if this is a very stupid question, but can someone give me a pointer please? TIA, John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---