Rails app - tried generating a list of months given a date-range for grid view, but didn't work (fail