The terminal commands below will allow you to delete and re-create your Active Record database.
my most favorite coding process ๐ฅ
rake db:drop
rake db:create
rake db:migrate
rake db:seed
Create a Rails App :
rails new sheep
gem install bindexย
Create a Migration :
rails generate model Herd name:string address:text
rake db:migrate
Seed the database:
rake db:seed
๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐
// โค๏ธ Thank you Learn.co + https://guides.rubyonrails.org