Locals and partials

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
[email protected]
Web Programmer
The Santa Fe New Mexican, Inc.

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs