Correct Answer: create_table :table_name
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
When rendering a partial on a collection, what is the recommended method?
A correct example of class inheritance from 'Exception' into 'Bomber'
Which is NOT an ActiveRecord migration method?
Ruby supports single inheritance, multiple inheritance, or both?
A class variable (not class level instance variable) has a name beginning with ___________.
State whether True or False The find method will raise an ActiveRecord::RecordNotFound exception unless a matching record is found for all the supplied primary keys.
What is the difference between find() and find_by_id() method?
How to disable protection of CSRF attacks for API requests?
Which method is used in views to prevent CSRF attack?
Which methods can be used inside a controller to prevent CSRF attack?