Which of the following protects "NOT NULL" fields against missing a user input?
Correct Answer: validates_presence_of
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Ruby On Rails Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Ruby On Rails MCQ Questions
Which statement is true regarding the find_or_create method in Ruby on Rails?
Which of these files determine Ruby version and gemset for RVM library?
Which of these options is right to create default scope of model in Rails?
What is the difference between jruby and ruby?
Which of the following types of callbacks are available in ROR?
Which is valid objects of class Integer or one of its subclasses? 1) -123 2) 0xFF 3) 123_456_789 4) 123456789123456789123456789123456789
All Ruby number objects are instances of class _____.
If a method is protected:
link_to('link text', url, :remote => true) does which of the following?
The Controller in Post#create: what is the 'best practice' action when the user submits an invalid form?