I am trying custom some error message
validates :username, :presence => {:message => 'Email cannot be blank'},
:uniqueness => {:message => 'Email was existed'}
but in the web page, it display like this:
Username Email cannot be blank
Username Invalid email format
Password Missing password
How can i get rid of the "Username" and "Password" in the very first word of each line??
(rails 3.0.7, ruby 1.9.2)
Thanks