Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Store erb block and alter scope of erb block eval?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Steve V, post: 4467431"] The primary goal of this all is to be able to use the variable from the object scope other than the controller. The secondary goal is to be able to cache a precompiled template. The method above gets me a proc object(I think). If that is the case, are procs already compiled, or do they need to be compiled at the time of execution? I wanted to store these as ERB templates so that I could take advantage of caching them in a compiled state. But if the procs are already compiled and there is a way to cache them, then that would work as well. Steve [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Store erb block and alter scope of erb block eval?
Top