MCQs>IT & Programming>Ruby On Rails>For a Rails validator, how would you define an error message for the model attribute address with the message "This address is invalid"?
Ruby On Rails MCQs
For a Rails validator, how would you define an error message for the model attribute address with the message "This address is invalid"?
Answer
Correct Answer: Model.errors[:address] <<
Explanation:
Note: This Question is unanswered, help us to find answer for this one