Instead of this:
<% form_for @my_model do|f| %>
<%= f.select :a, MyModel::AS, :multiple =>true) %>
<%end %>
Use this:
<%MyModel::AS.each do|a_value| %>
<%= f.check_box(:a,{:multiple =>true }, a_value) %>
<%end %>
Instead of this:
<% form_for @my_model do|f| %>
<%= f.select :a, MyModel::AS, :multiple =>true) %>
<%end %>
Use this:
<%MyModel::AS.each do|a_value| %>
<%= f.check_box(:a,{:multiple =>true }, a_value) %>
<%end %>