Answer the question
In order to leave comments, you need to log in
How to check if parameters are empty in rails?
Tried to check like this
p=params.require(:recovery_password).permit(:email)
if p.nil?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question