Last active
September 8, 2018 17:40
-
-
Save katsumata-ryo/b5b1a05dddda42e95f2104d3773310ac to your computer and use it in GitHub Desktop.
day.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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