You might be interested in this snippet of code I saw somewhere and use in all my Rails apps.
ActionView::Base.field_error_proc = Proc.new do |html_tag, instance|
That fieldWithError div [a block element] around bad
form fields can really wreck a layout sometimes. An aptly named span
works just as well.