{"action":"created","issue":{"url":"https://api.github.com/repos/diowa/icare/issues/34","labels_url":"https://api.github.com/repos/diowa/icare/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/diowa/icare/issues/34/comments","events_url":"https://api.github.com/repos/diowa/icare/issues/34/events","html_url":"https://github.com/diowa/icare/issues/34","id":103174170,"number":34,"title":"Giving error after facebook login: Users::OmniauthCallbacksController#facebook","user":{"login":"mohdbashir","id":3686692,"avatar_url":"https://avatars.githubusercontent.com/u/3686692?v=3","gravatar_id":"","url":"https://api.github.com/users/mohdbashir","html_url":"https://github.com/mohdbashir","followers_url":"https://api.github.com/users/mohdbashir/followers","following_url":"https://api.github.com/users/mohdbashir/following{/other_user}","gists_url":"https://api.github.com/users/mohdbashir/gists{/gist_id}","starred_url":"https://api.github.com/users/mohdbashir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohdbashir/subscriptions","organizations_url":"https://api.github.com/users/mohdbashir/orgs","repos_url":"https://api.github.com/users/mohdbashir/repos","events_url":"https://api.github.com/users/mohdbashir/events{/privacy}","received_events_url":"https://api.github.com/users/mohdbashir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/diowa/icare/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-26T04:51:12Z","updated_at":"2015-09-12T15:14:47Z","closed_at":null,"body":"\r\nNoMethodError in Users::OmniauthCallbacksController#facebook\r\nundefined method `gsub' for nil:NilClass\r\nExtracted source (around line #21):\r\n\r\n          # Locale, with priority to application setting\r\n          self.locale = auth.extra.raw_info.locale.gsub(/_/,'-') unless self.locale?\r\n\r\n          # Username and uid array\r\n          self.username_or_uid = [ username, uid ]\r\n\r\nRails.root: /home/thtechonline/public_html/icare"},"comment":{"url":"https://api.github.com/repos/diowa/icare/issues/comments/139783398","html_url":"https://github.com/diowa/icare/issues/34#issuecomment-139783398","issue_url":"https://api.github.com/repos/diowa/icare/issues/34","id":139783398,"user":{"login":"tagliala","id":556268,"avatar_url":"https://avatars.githubusercontent.com/u/556268?v=3","gravatar_id":"","url":"https://api.github.com/users/tagliala","html_url":"https://github.com/tagliala","followers_url":"https://api.github.com/users/tagliala/followers","following_url":"https://api.github.com/users/tagliala/following{/other_user}","gists_url":"https://api.github.com/users/tagliala/gists{/gist_id}","starred_url":"https://api.github.com/users/tagliala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagliala/subscriptions","organizations_url":"https://api.github.com/users/tagliala/orgs","repos_url":"https://api.github.com/users/tagliala/repos","events_url":"https://api.github.com/users/tagliala/events{/privacy}","received_events_url":"https://api.github.com/users/tagliala/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T15:14:47Z","updated_at":"2015-09-12T15:14:47Z","body":"So there are people from facebook **without** a locale. I don't know how this is possible but that's fine :)"}}