Ruby On Rails: database stuff

Since you are dealing with the database layer through the Models, you usually don’t need to worry about direct access to that layer, but here are a few commands to cleanup stuff: bundle exec rake db:reset  // Truncates the database tables bundle exec rake db:test:prepare // To prepare the data for tests rake db:seed # take the data from […]