Correct Answer: posts#create or posts#index
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
Handling an AJAX request in controller, which of the following redirects to google?
Counter caches can be used for:
You've got a form, and when the user submits invalid data, you simply show them an error page (no redirect). In the controller, to show the general error on the rendered page, you would add:
Output of the following ? person1 = 'Tim' person2 = person1 person1[0] = 'J' puts person1 puts person2
If your controller gets an action that it will render a template for, and you need to add a flash notice to the page, you'd use:
Which of the following validations are supported by models?
After executing the following code, what will the value of foo be? foo = 'bar' wom = Proc.new {|foo| foo = 'baz'} wom.call('pling')
Which of the following will return a User object when used with a model which deals with a table named User?
Which option will correctly show an image in the HTML ERB template in Rails?
Which of the following validations checks if a passed value is an enumeration and falls in the given range?