नहीं लगेगा मैं date_select के निम्नलिखित उपयोग ..रेल date_select वर्ग प्रभाव
<%= f.date_select :birthday, :order => [:month, :day], :prompt => { :day => 'Select day', :month => 'Select month' }, :html => {:class => "select birthday"} %>
है लेकिन वर्ग html में दिखाई नहीं देता ..
<select id="profile_birthday_2i" name="profile[birthday(2i)]">
<select id="profile_birthday_3i" name="profile[birthday(3i)]">
मैं भी कोशिश की।
<%= f.date_select :birthday, :order => [:month, :day], :prompt => { :day => 'Select day', :month => 'Select month' }, :class => "select birthday" %>
यह काम नहीं करता था। कोई विचार?
धन्यवाद, यह काम किया! – absolutskyy