How can I add errors to the User model manually?
User
Is it just @user.errors << \"some text goes here\" ?
@user.errors << \"some text goes here\"
Use the errors.add method
Example:
@user.errors.add(:name, "wasn't filled in")