Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Pan's Profile

GitHub User: panthongw

Comments by Pan

Avatar

If anyone gets an error about Undefined method `[]' for nil:NilClass this is because of this line: self.email = omniauth['user_info']['email'] if email.blank?

Due to some update this part should be changed 'user_info' to 'info', so self.email = omniauth['info']['email'] email.blank? or self.email = omniauth.info.email email.blank?

Avatar

I am having trouble with doing errors(:base) << message. Could someone please look at my post and see if they could help me out: http://bit.ly/OFthci

Thank you