link_to problem

Guest wrote:

<%= link_to 'Next Month' :action => 'show_month', :m => ( @month + 1),
:yr => @year %>

Try...

<%= link_to 'Next Month', {:action => 'show_month', :m => ( @month + 1), :yr => @year} %>

The link_to documentation at http://api.rubyonrails.org/ explains it pretty well, I think.

hth,
Bill