MCQs > IT & Programming > Ruby On Rails > When a validation of a field in a Rails model fails, where are the messages for validation errors stored?

Ruby On Rails MCQs

When a validation of a field in a Rails model fails, where are the messages for validation errors stored?

Answer

Correct Answer: My_model.errors[:field]

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it