usually it should work without the ":object => @my_profile" part (and
i tried that). however, since relying on global variables like
@my_profile in a partial isn't nice coding style anyway. so i tried to
pass the variable explicitly to the partial. i would have expected the
variable @my_profile to appear as "layout" in my _layout partial (and
as "private" in my _private partial). however, the "layout" variable
is not defined in my _layout partial :(. btw: i also tried "@layout",
but this isn't defined either).

On 13 Jan., 14:56, MaD <[email protected]> wrote:
> a no, forget what i just said. this should only work, if you have a
> Private-model.
> sorry, getting a bit tired.
--~--~---------~--~----~------------~-------~--~----~
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to