mbleigh / twitter-auth

Standard authentication stack for Rails using Twitter to log in.
355 stars 48 forks source link

undefined method `downcase' #27

Open kiote opened 14 years ago

kiote commented 14 years ago

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 14 years ago

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