MCQs > IT & Programming > Ruby On Rails > Which is correctly handles the currency field? A) add_column :items, :price, :decimal, :precision => 8, :scale => 2 B) add_money :items, :price, currency: { present: false }

Ruby On Rails MCQs

Which of the following correctly handles the currency field?
A) add_column :items, :price, :decimal, :precision => 8, :scale => 2
B) add_money :items, :price, currency: { present: false }

Answer

Correct Answer: A

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