🎴 Flashcard Mode
Ruby on Rails Web Development Basics
Card1 / 15
Mastered0
Review0
QuestionClick to flip
Which of the following command runs the migrations for your rails project
AnswerClick to flip back
A
rake db:migrate
💡 Explanation:
The correct Rails command is 'rake db:migrate' - this applies pending migrations to the database. Options A and C use incorrect verb forms ('migrations' and 'migrates' instead of 'migrate'), and D incorrectly adds 'project' as an argument. The Rails migration syntax follows the pattern 'rake db:taskname'.