MCQs > IT & Programming > Ruby On Rails > The Controller in Post#create: what is the 'best practice' action when the user submits an invalid form?

Ruby On Rails MCQs

The Controller in Post#create: what is the "best practice" action when the user submits an invalid form?

Answer

Correct Answer: render action: 'new', alert: 'The Post is incomplete or invalid.'

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