Rails idee válido_password

user = User.find_by_email(params[:user][:email])
user.valid_password?(params[:user][:password])
patrick204nqh