Hi,
I've got a Form with a select helper, but the value in the database doesn't get selected: The name of the model is "special_tip" and belongs to a special_quest_option and a special_quest
<% form_for special_tip do |f|%> <%= select("special_tip", "special_quest_option_id", special_quest.special_quest_options.all.collect {|sqo| [ sqo.text, sqo.id ] },{:include_blank => true}) %> <%= f.submit "tip the Special Quest" %> <% end %>
What do I'm doing wrong? The correct values are in the select box, but the current doesn't get selected. Thanks