title: Validations performed but fields not surrounded with field_with_errors div on Rails 3.2.0 only in production
body: <p>I have a Publication model with validations on some fields, title for example.</p>
  
  <p>I removed the error messages that I find annoying, and set up a nice CSS for when the input are surrounded in a field_with_error div so the user knows what field did not validate.</p>
  
  <p>The thing is when I deploy to production the validations are still performed (ie. the user is sent back to the form) but the inputs are not surrounded with the error div.</p>
  
  <p>I tried running the app locally in production mode and all I could learn is that it starts happening when I set config.cache_classes to true in my config/environments/production.rb file.</p>
  
  <p>Also when I log @publication.errors in the controller the errors are present.</p>
  
  <p>Any idea ?</p>