Error Messages in Rails - {{attribute}} {{message}}

See these error messages?

You'll probably only get this error when running Rails 2.3.8 and older, on the same server as a new Rails 3.0.3 install. i18n 0.5.0 is the culprit.

Here's what you need to do:

  1. create this file: config/preinitializer.rb
  2. copy/paste this:
  3. restart your local server and/or restart apache/nginx

Read more about the issue over at Stack Overflow.

comments powered by Disqus