search for: options_for_month

Displaying 1 result from an estimated 1 matches for "options_for_month".

Did you mean: options_for_months
2005 Dec 19
3
Trying to make an app helper
Any ideas with fixing this? Doesn''t work properly, although it doesn''t throw any runtime errors. # Methods added to this helper will be available to all templates in the application. module ApplicationHelper def options_for_months(selected_month) months=["January","February","March","April","May","June","July","August","September","October","November","December"] curmonth=1 o="" months.ea...