Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
day.2
$ rails generate sorcery:install
Running via Spring preloader in process 29650
create config/initializers/sorcery.rb
gsub config/initializers/sorcery.rb
generate model User --skip-migration
Running via Spring preloader in process 29679
invoke active_record
create app/models/user.rb
invoke test_unit
create test/models/user_test.rb
create test/fixtures/users.yml
insert app/models/user.rb
insert app/models/user.rb
# チュートリアルにそってコード修正
# https://github.com/Sorcery/sorcery/wiki/Simple-Password-Authentication
# email_validater gem を追加
# https://github.com/balexand/email_validator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment