Forum: Ruby on Rails select_year and date_select tag??

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
kanna (Guest)
on 2013-08-03 10:51
(Received via mailing list)

I need to use select_year and date_select_year tag, but i dont know how

<select class="datefield" style="margin-bottom:3px;"
name="advisers[start_year]" id="Deal_Date_From_year">
                        <option selected="selected"></option>
                        <option value="2013">2013</option>
                        <option value="2012">2012</option>
                        <option value="2011">2011</option>
                        <option value="2010">2010</option>
                        <option value="2009">2009</option>

<select class="datefield" name="advisers[end_month]"
                    <option selected="selected" value=""></option>
                    <option value="1">Jan</option>
                    <option value="2">Feb</option>
                    <option value="3">Mar</option>
                    <option value="4">Apr</option>
                    <option value="5">May</option>
                    <option value="6">Jun</option>
                    <option value="7">Jul</option>
                    <option value="8">Aug</option>
                    <option value="9">Sep</option>
                    <option value="10">Oct</option>
                    <option value="11">Nov</option>
                    <option value="12">Dec</option>

anybody please help.
This topic is locked and can not be replied to.