RoR: ActionView::TemplateError (can’t dup NilClass)

So I got this error today when working on a Ruby on Rails application:

 ActionView::TemplateError (can't dup NilClass)

Well, I didn’t find too much with a quick glance through google (though I could have spent more time). It was a quick fix: I accidentally used an instance variable that I forgot to define in my controller. Doh!

July 27, 2009  Tags:   Posted in: Technology

Leave a Reply

Spam Protection by WP-SpamFree