I got the following application: http://pastie.org/901794 (I pasted
only the most relevant parts.)
It gives an error, while I try to submit the form, specifically:
ActiveRecord::AssociationTypeMismatch in BeiratkozasController#create
Modul(#51370284) expected, got String(#35011620)
It also does this if I change html << radio_button(model_name, method,
option) to html << radio_button(model_name, method, option.id).
It generates the form, and the form works if I comment out the helper,
so it adds the other fields to the database (those fields are not
included in the pastie for length issues), but it fails while I wish
to add the "modul".
Thanks a thousand times and happy Easter!