7stud -- wrote:
Corrections/clarification:

> 
> I explained why I got the error.  It was because I ended  up with two 
> conflicting render statements, one in the layout and one in the index 
> view:
> 
> render(:partial => "test", :object => @array)
> render(:partial => "test", :collection => @array)
> 
> Apparently, that confused rails.  The error had nothing to do with the 
> fact that 'test' wasn't previously defined somewhere in my code.
> 
-- 
Posted via http://www.ruby-forum.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to