Answer the question
In order to leave comments, you need to log in
Why (in Rails 4.2) does the password: confirmation validation not work???
There is a validation like this:
validates :password, presence: true
validates :password, confirmation: true
validates :password_confirmation, presence: true
Answer the question
In order to leave comments, you need to log in
It's easy enough to write:
validates :password, presence: true, confirmation: true
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question