Anyone have any reason why this line would work locally but Heroku would throw an error?
where(auth.slice(:provider, :uid)).first_or_initialize.tap do |user|
Cheers!
你可能忘了做一个heroku run rake db:migrate
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.