Forum: Ruby on Rails Locals and partials

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Hunter Peress (Guest)
on 2005-12-13 23:16
(Received via mailing list)
Since i can't figure out how to use heredocs with erb. im looking at
solving my problem
with partials, but since partials seem to have a completely separate
namespace/scope
im looking for a way to pass the entire scope of the calling rhtml to
the partial.
------------------------------------------------------------------------

Hunter Peress
removed_email_address@domain.invalid
Web Programmer
The Santa Fe New Mexican, Inc.
subimage interactive (Guest)
on 2005-12-14 01:01
(Received via mailing list)
If you figure this one out please let me know. I've been working on the
same
problem as well, but have just gotten around it by passing collections
of
locals (not very nice...)
This topic is locked and can not be replied to.