I have the following code, but can’t seem to get the class attribute
to show up in the generated select elements. I saw something about a
bug/patch. However, as am still learning RoR I didn’t want to jump to
conclusions. Anyone see anything wrong:
<%= f.date_select :expiration_date, :order =>
[:month, :year], :discard_day => true, :class => “dtfld” %>
I’ve also tried:
<%= f.date_select :expiration_date, {:order =>
[:month, :year], :discard_day => true}, :class => “dtfld” %>