rails concevoir valid_password

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