Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Sharagoz's latest activity

Tuesday, April 20 2010
1626 fieldWithErrors shouldn't use a div was updated in Ruby on Rails
  • Sharagoz
    Sharagoz commented at 8:46 AM

    +1

    In every project I do the below to change div to span:

    config.action_view.field_error_proc = Proc.new{ |html_tag, instance| "<span class=&quot;fieldWithErro...