undefined method `downcase' #27

Open
kiote opened this Issue Apr 21, 2010 · 1 comment

Comments

Projects
None yet
2 participants

kiote commented Apr 21, 2010

Hello.

When I try to call
current_user.twitter.get 'friendships/destroy', {:id => user_id}
or this way
current_user.twitter.get "friendships/destroy?id=#{user_id}"

I catch 'undefined method downcase' for :id:Symbol' or 'undefined methoddowncase' for nil:NilClass'

iPrash commented Jun 27, 2010

the method call is missing a leading slash...
try:
current_user.twitter.get '/friendships/destroy', {:id => user_id}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment