Q:

select_tag results do not save

For the life of me I cannot figure out why the result of this select tag will not save when posted. I'm not using attr_accessible.
view:
<%= f.label :kind, "1-bug 2-mod 3-new 4-other" %><br />
<%= select_tag :kind, options_for_select(SiteCare::KIND, :kind) %>

site_care model:
  KIND = [["1 Bug",1],
          ["2 Modification",2],
          ["3 New",3],
          ["4 Other",4]]

Thanks.

A:

I think you should be using select instead of select_tag like this
<%= f.label :kind, "1-bug 2-mod 3-new 4-other" %><br />
<%= f.select :kind, SiteCare::KIND %>

then only it will bind with the object @site_care because f.select will pass it as the first arguement for select tag.

