Custom Rails ActiveRecord Messages
While using Rails in my projects I’ve came up with the need to display error messages in my native language, Portuguese. So following my last plugin on plural rules in Rails models, I’ll now quickly explain how to add custom messages to any Rails application. Quite simply create a file called messages.rb in your /config [...]