User validation

Hey everyone,

I am having a strange (to me) problem. I’ve had a user registration
form working for months untill the last time i updated my database (I
probably changed something too else that made it break but don’t know
what it could be).

What happens is:
A user enters their desired username, email password into a
registration form. The validation on the user model is working fine.
I know this by watching the database, but the error message are not
being displayed. It’s the weirdest thing because the register.rhtml
file clearly has <%= error_messages_for ‘user’ %>

I’ve checked to make sure the error message are being populated with
user.errors.invalid?(:email), etc, and they are.

I must have done something to keep it from displaying the error
messages, but I have no idea what.

Any thoughts?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs