lib/informant.rb
def year_select(method, options = {})
      options[:first] = options[:start_year] || 1801
      options[:last]  = options[:end_year] || Date.today.year
      integer_select(method, options)
    end
def year_select(method, options = {})
      options[:first] = options[:start_year] || 1801
      options[:last]  = options[:end_year] || Date.today.year
      integer_select(method, options)
    end
Year select field. Takes options <tt>:start_year</tt> and
 <tt>:end_year</tt>, and <tt>:step</tt>.