Rails error: Stack level too deep


I am trying to program in Rails and am experiencing an error when I use a scaffold. I am using scaffold :ad and the generic code that is generated.

The generated code runs fine until it gets to:
redirect_to :action => ‘list’

The redirect fails and causes the error “stack level too deep”. This is a configuration issue with dreamhost because the code runs fine on my laptop. Anyone know what the configuration I am missing is?