heroku/databasedotcom — pull request #83 by pablomouzo (2012-05-10 21:14:11+00:00)
Title: Fix update_attributes when hash uses symbols as keys

I found this problem when I was doing a simple update_attributes in an object using the Ruby 1.9 hash notation
client.materialize('Account')
Account.first
account.update_attributes({BillingStreet: '123 Fake Stret'})

The problem is that SObject.field_type won't take a symbol as argument giving the error message that "BillingStreet" is not a field.

I don't know if this is the best solution, is the only one I came up with my limited knowledge of the codebase.