Conection

To access the month parameter:

params[:month]

You don't need to add the month as an argument to the method.

def destroyMonth(month)

should be def destroyMonth

and if you are following ruby style the method should be written in camel_case

def destroy_month

Cheers, Nicholas