title: rails helper select_month option to not show all months
body: <p>I'm creating a report were I need to provide users a select that allows them to choose the current month or the next two months.</p>
  
  <p>I discovered the rails helper <strong>select_month</strong> which works great if you want a list of all months. Is there any way to specify the months to display using select_month or I assume its might be better to create my own helper for this?</p>
  
  <p>For example I can get the ranges I want based on date using date helpers as shown below and build a select but I thought perhaps there is a cleaner way to do this with select_month.</p>
  
  <blockquote>
    <p><strong>get current month date range manually</strong>  &lt;%=Date.today.beginning_of_month%>,&lt;%=Date.today.end_of_month%></p>
    
    <p><strong>get next month date range manually</strong>  &lt;%=Date.today.beginning_of_month +
    1.months%>,&lt;%=n_month.end_of_month%></p>
    
    <p><strong>get second month date range manually on current date</strong> &lt;%=Date.today.beginning_of_month +
    2.months%>,&lt;%=month_after_next.end_of_month%></p>
  </blockquote>
  
  <p>So far I can only see ways to modify the date label display, select name and values for all months with select_month.</p>
  
  <p><strong>Just displays all months</strong>
  <code>select_month(Date.today</code>)</p>