-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dribbble API OAuth Not Directing #6
Comments
Hey Angelina, can you post more of the Error message? It's hard to tell exactly what the error is. |
I’m not really sure what else to send you… I don’t get an error in the terminal, just a Sinatra Error. This is exactly what I’m getting: NoMethodError at /home Ruby /Users/ambethoney/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb: in rescue in call, line 37 sinatra.error I’m not sure if you saw my original GitHub issue, but I wrote in there exactly where the reject method is being used (in LinkedInHelper). I’m not sure why that would be affecting my ability to log into Dribble
|
What does your get '/home' route look like? Let's some some code blocks inhere. |
|
Once a user signs into the dashboard using LinkedIn, I have links to pull in information from Dribbble and GitHub |
Hey Angelina, |
Okay, thanks! I'll try that. |
Hi,
I wrote all of my code to get my Dribbble API working in a different file, just to prevent breaking anything in my project. And I have it working! It shows the information that I'm calling (yay!).
Now I'm trying to merge the new code in with my previous code. The issue I'm having now is signing into Dribbble from the dashboard. Whenever I click "Sign Up With Dribbble" I receive this error:
<NoMethodError: undefined method `reject!' for nil:NilClass>
sinatra.route
GET /home
The reject method is in my linkedin_database helper file. I'm confused as to why this would be affecting my Dribbble Login. I've tried playing around with the order of my methods, but I haven't made much headway. Do you have any ideas or suggestions? Thanks!
The text was updated successfully, but these errors were encountered: