On Tue, Feb 14, 2012 at 08:28, Naira Kobo <li...@ruby-forum.com> wrote:
> Extracted source (around line #19): > > undefined method `model_name' for NilClass:Class > > 18: <div id="loader_div" name="loader_div"> > 19: <%= render(@grouptrace) %> > 20: </div> This is telling you that @grouptrace is nil. You dropped the underscore from inside the name. (Minirant: This is one of the things I don't like about languages letting you reference undeclared variables. You can't tell "I deliberately haven't set it yet, so the fact that it's nil is significant" from a typo.) -Dave -- Dave Aronson: Available Cleared Ruby on Rails Freelancer (NoVa/DC/Remote) -- see www.DaveAronson.com, and blogs at www.Codosaur.us, www.Dare2XL.com, www.RecruitingRants.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.