Skip to content

Instantly share code, notes, and snippets.

View nilthacker's full-sized avatar

nil nilthacker

View GitHub Profile
@nilthacker
nilthacker / devise.md
Last active May 13, 2020 23:59
Add Devise to Rails app

Devise Installation:

1. Create new rails application:

rails new app-name --database=postgresql -BT

  • --database=postgresql-> Use postgres for database
  • -B -> skip initial bundle install
  • -T -> skip test suite (we're using rspec)

2. Add basic controller:

rails g controller welcome