Ben Kiarie
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
When I try to connect a Twitter User from the index page, it works fine. But, when I try from the Twitter Accounts page I get an error
"NoMethodError in OmniauthCallbacksController#twitter"
"undefined method `info' for nil:NilClass"
Rails says the error is on the line
" twitter_account = Current.user.twitter_accounts.where(username: auth.info.nickname).first_or_initialize"
What am I missing?