searching by month

This is a totally different approach than the one you are taking (and kind of ugly), but you could try…

Project.find(:all, :conditions => {"created_at like ", “'” + params[:year] + “-” + params[:month] + “%'”})

This seems to work in the console. Not sure it’s production code, but maybe it will help give ideas.

Good Luck,

Nathan