Right - I added support for the case where you do not have an  
instance variable set

On Nov 13, 2006, at 2:47 PM, Marcel Molina Jr. wrote:

>
> On Mon, Nov 13, 2006 at 02:38:07PM -0800, Rich Collins wrote:
>> Ah wait.  You are using @page.  Try it with a local variable:
>>
>> render :partial => page
>
> If you have an instance variable with the same name as a partial it is
> implicitly passed via :object.
>
> marcel
> -- 
> Marcel Molina Jr. <[EMAIL PROTECTED]>
>
> >


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to