Kinda tricky date manipulation question

Hey guys,

I've been trying to figure out the best way to do something and could
use your advice.

Basically what I'm trying to so is select a specific month and year
from a view form that goes to a controller action.

Then from controller, I'm trying to find out how many days are in the
month or even better somehow just create an array of all the dates in
that specific month for that year so I can iterate over it as I need to
do some processing for each day in the month.

From my form I'm getting the following two variables:




I'm thinkin I might need to dig a little deeper into ruby to create
this functionality? Thanks for any thoughts.

Hey, Marston. Dig this:

Does that help out?