How do i switch off error wrapping for a specific field?

Or you could just add

ActionView::Base.field_error_proc = do |html_tag, instance|
“<span class=“error”>#{html_tag}”

to your config/environment.rb. I agree that using a div [block] where a span [inline] would work as well seems overkill but I didn’t create Rails. And granting how awesome all the other stuff is, I think I’ll let this one slide. :wink:


You know, you did mention that. Only I would have had to actually looked at your code and not mentally compared the length of it to the length of that one I posted. Oopsie?