Ho la seguente uso di date_select ..rotaie date_select classe non avrà effetto
<%= f.date_select :birthday, :order => [:month, :day], :prompt => { :day => 'Select day', :month => 'Select month' }, :html => {:class => "select birthday"} %>
Ma la classe non si presenta in html ..
<select id="profile_birthday_2i" name="profile[birthday(2i)]">
<select id="profile_birthday_3i" name="profile[birthday(3i)]">
Ho anche provato.
<%= f.date_select :birthday, :order => [:month, :day], :prompt => { :day => 'Select day', :month => 'Select month' }, :class => "select birthday" %>
Anche questo non ha funzionato. Qualche idea?
Grazie, ha funzionato! – absolutskyy