Answers for "how to create a test database in rails"

0

rails create database only in test

bundle exec rails db:drop RAILS_ENV=test
bundle exec rails db:create RAILS_ENV=test
bundle exec rails db:schema:load RAILS_ENV=test
Posted by: Guest on August-27-2021

Code answers related to "how to create a test database in rails"

Browse Popular Code Answers by Language