-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add devise and facebook login #1
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omniauth.rb 有嗎?
gem 'omniauth-facebook' | ||
gem 'cancancan', '~> 1.10' | ||
# Use sqlite3 as the database for Active Record | ||
gem 'sqlite3' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
要用sqlite?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
新加的gem加到檔案後面 但在develop那個gruop之前喔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因為不是說只是先試一下,所以我就沒特別改要用哪一種資料庫
@@ -38,7 +43,6 @@ gem 'jbuilder', '~> 2.5' | |||
group :development, :test do | |||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console | |||
gem 'byebug', platform: :mri |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我的awesome_print啊~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因為你rails new之前我就已經先用了,所以你加的東西我那邊不會有
# Configure the e-mail address which will be shown in Devise::Mailer, | ||
# note that it will be overwritten if you use your own mailer class | ||
# with default "from" parameter. | ||
config.mailer_sender = '[email protected]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EMAIL尚未完成喔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
還沒~但結果我們要用什麼寄信?
@@ -0,0 +1,7 @@ | |||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我忘記說...我不太用fixture
之後會說用 machinist 和 faker來做test data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
沒關係,這他自動生的東西而已
omniauth.rb 有嗎? |
facebook登入