merb-haml "_buf" undefined error when using erb partial from form_for in haml template
Reported by Nick Dufresne | April 2nd, 2008 @ 12:27 PM | in 1.0 (Nearish Future)
I'm not sure if im missing something here, but it seems the _buf undefined problem rears it's ugly head when you try to use erb templates from within a form_for block from a haml template. I checked to confirm that this does not happen if you use an erb partial from haml without the form_for.
#index.html.haml
- form_for @customer do
= partial "test"
#_test.html.erb
<p> Test </p>
# results in
undefined local variable or method `_buf'
I'm not sure that anyone would ever really do this but the problem exists ...
Comments and changes to this ticket
-
Michael Klishin (antares) May 11th, 2008 @ 07:49 AM
- → Milestone changed from to 1.0 (Nearish Future)
- → State changed from new to open
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
