Use translations for error messages, which requires hacking into ActiveModel::Validations a bit.
Use translations for error messages, which requires hacking into ActiveModel::Validations a bit.

See http://yehudakatz.com/2010/01/10/activemodel-make-any-ruby-object-feel-like-activerecord/
for an explanation of read_attribute_for_validation

[#28089551]

jamesblunt/chorus,mpushpav/chorus,jamesblunt/chorus,atul-alpine/chorus,hewtest/chorus,lukepolo/chorus,prakash-alpine/chorus,lukepolo/chorus,atul-alpine/chorus,hewtest/chorus,hewtest/chorus,atul-alpine/chorus,hewtest/chorus,hewtest/chorus,atul-alpine/chorus,jamesblunt/chorus,hewtest/chorus,jamesblunt/chorus,lukepolo/chorus,lukepolo/chorus,jamesblunt/chorus,mpushpav/chorus,prakash-alpine/chorus,prakash-alpine/chorus,mpushpav/chorus,atul-alpine/chorus,atul-alpine/chorus,atul-alpine/chorus,lukepolo/chorus,mpushpav/chorus,prakash-alpine/chorus,mpushpav/chorus,mpushpav/chorus,prakash-alpine/chorus,jamesblunt/chorus,hewtest/chorus,lukepolo/chorus,hewtest/chorus,lukepolo/chorus,jamesblunt/chorus,mpushpav/chorus