search for: curmonth

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

Did you mean: cur_month
2005 Dec 19
3
Trying to make an app helper
...pplicationHelper def options_for_months(selected_month) months=["January","February","March","April","May","June","July","August","September","October","November","December"] curmonth=1 o="" months.each do |month| if curmonth == selected_month o << "<option value=''" << curmonth << "'' selected=''selected''>" << month << "</option>" else o <<...