On Mon, 25 Sep 2006, RoR newbie wrote:
I tried to make a partial but it threw this:
I thought it was weird since this wasnt a very complicated case so I
made it simpler. Now I have a partial empty rhtml and calling it with
“render :partial => “shared/list”” but it still gives me the same error.
How can I beat this? I’m really stuck at this now.
You’re going through one of the nuby (Ruby newbie) rites of passage
Don’t use ‘class’ as a local variable or method name. Ruby sees it
and thinks you mean the keyword ‘class’.
David A. Black | [email protected]
Author of “Ruby for Rails”  | Ruby/Rails training & consultancy 
DABlog (DAB’s Weblog)  | Co-director, Ruby Central, Inc. 
 http://www.manning.com/black |  http://www.rubypowerandlight.com
 http://dablog.rubypal.com |  http://www.rubycentral.org