By default Rails wraps form errors in a div with the class field_with_errors
.
There are 2 ways to disable this.
First way is in the application.rb
environment file (doesn't make sense just to disable it on a specific environment?):
# config/application.rb
module ApplicationName