ruby/rails: make the message more standard