Locals and partials


#1

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.


#2

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…)