February 24th, 2008 by Walter Wilfinger
I’m messing around with the edge of the Merb 0.9 developer release and Haml. I have very little experience in Haml and I’ve never used Merb before, so it’s probably a bad idea to start off with a developer release but hey whatever. I could not get the form_tag function from merb_helpers to work. This…
%p
This will be the most basic DNS lookup ever
- form_tag(:action => url(:controller => :dns, :action => :index)) do
= text_control "target", :label => "Domain/IP"
Gave me this…
undefined local variable or method `_buf' for # - (NameError)
I wasn’t sure if I was using Haml wrong, Merb wrong, or both. Google indexed an error log of the exact same problem and a few minutes later the bug entry which was entered just 45 minutes before I found it.
That’s just crazy cool.


