0

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!

1
  • Accept rate noted. Ha. And this was the error: NoMethodError (undefined method name=' for #<User:0x00000002f175a0>): 2012-07-19T05:51:19+00:00 app[web.1]: app/models/user.rb:17:in block in from_omniauth' Commented Jul 19, 2012 at 6:09

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.