dchun / QuoteManager

Saas App for Managing Quotes and getting paid
https://quotemanager.boopis.com
0 stars 0 forks source link

values method error in find_for_oauth #205

Closed dchun closed 9 years ago

dchun commented 9 years ago

The following error is generated during the callback phase while connecting to google:

NoMethodError (undefined method `values' for nil:NilClass):
  app/models/identity.rb:25:in `find_for_oauth'
  app/models/user.rb:65:in `find_for_oauth'

Is collecting the url info necessary in the line below?

url: auth['info']['urls'].values[0], 
phuong3030 commented 9 years ago

I use user url to display on user profile page. It will shows that user has already connected to his Google account.

untitled