Displaying 1 result from an estimated 1 matches for "erb_variable".
2006 Dec 20
0
Erubis / Rails Question
I''m trying to figure out whether the fix for an error I get when using
Erubis belongs to Erubis or Rails so I can submit a bug/patch/whatever. When
you use form_for in an Erubis template the instance_eval uses _erbout
instead of _buf. I found the solution [adding
ActionView::Base.erb_variable= "_buf" to the setup in
app/controllers/application.rb] but in searching
out information about this I discovered that there was a recent Edge Rails
patch to use _buf instead of _erbout. I''m thinking it just needs to be
reported to the Erubis people and add the simple line to the...