jeffersongirao/omniauth-dwolla — Issue #1: BUG: undefined method `downcase' for :oauth_token:Symbol
Author: jimi1283
Created: 2012-01-23 05:11:14+00:00
State: open

Not sure if this is a bug in the dwolla gem, or if it's in the omniauth-dwolla gem, so I thought I'd start here. After clicking the authorize button for the Dwolla app, I receive the following stack trace:

/usr/lib/ruby/gems/1.8/gems/dwolla-0.0.12/lib/dwolla/user.rb in update_attributes
send("#{key.downcase}=".to_sym, value)
/usr/lib/ruby/gems/1.8/gems/dwolla-0.0.12/lib/dwolla/user.rb in each
attrs.each do |key, value|
/usr/lib/ruby/gems/1.8/gems/dwolla-0.0.12/lib/dwolla/user.rb in update_attributes
attrs.each do |key, value|
/usr/lib/ruby/gems/1.8/gems/dwolla-0.0.12/lib/dwolla/user.rb in initialize
update_attributes(attrs)
/usr/lib/ruby/gems/1.8/gems/dwolla-0.0.12/lib/dwolla/user.rb in new
User.new(:oauth_token => access_token)
/usr/lib/ruby/gems/1.8/gems/dwolla-0.0.12/lib/dwolla/user.rb in me
User.new(:oauth_token => access_token)
/usr/lib/ruby/gems/1.8/bundler/gems/omniauth-dwolla-1aa44ef77e41/lib/omniauth/strategies/dwolla.rb in user
@user ||= ::Dwolla::User.me(access_token.token).fetch

So it seems to be expecting a string, but it's getting an oauth_token class instead.