This README would normally document whatever steps are necessary to get the application up and running.
- ...
- make the change in the previous migration file
- run
rails db:rollback
- run
rails db:migrate
- Or run
rails db:migrate:redo
to run the two command in one
- run
rails g mailer Password reset
-
run
rails credentials:edit --environement=development
-
edit the opened file
twitter: api_key: key api_secret: key
- run
rails c
- run
Rails.application.credentials
- run this for a specific key
Rails.application.credentials.dig(:twitter, :api_key)
-run bundle add omniauth-twitter
-run bundle add omniauth-twitter omniauth-rails_csrf_protection
- open /initializer folder
- create omniauth.rb file
- add the keys