- Copy db/config.yml.example and rename it config.yml
- Ruby
- For Windows : ruby 2.6.5.1
gem install bundle
bundle install
- db
rake db:create
rake db:migrate
rake --tasks
rake db:new_migration name=create_client
Add this line to your application's Gemfile:
gem 'rails-observers'
And then execute:
$ bundle
Add
require 'rails/observers/activerecord/active_record'
to the observer file