Challenge for Sample Data
Challenge
Look up the different rake tasks in the databases.rake source file on Github. Lookup previously discusses rake tasks, i.e. seed
, reset
and migrate
to see the actual code used by Rails.
The reset
task mentioned above really consists of multiple other rake tasks. Can you see what they are in the source code? Copy the array of commands that are shown for task :reset
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.