t56k
t56k

Reputation: 7011

Rails code works locally but not on Heroku

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!

Upvotes: 0

Views: 157

Answers (1)

Benjamin Tan Wei Hao
Benjamin Tan Wei Hao

Reputation: 9701

You might have forgotten to do a heroku run rake db:migrate.

Upvotes: 2

Related Questions