Answers for "rails test database no data"

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

Browse Popular Code Answers by Language