stripe/stripe-ruby — pull request #58 by timcraft (2013-03-14 14:11:46+00:00)
Title: Always call to_sym instead of type checking in Stripe::StripeObject#[] m...

Both String and Symbol implement #to_sym, so there's no need to check that a key is a string before calling it.

Small detail, but it's more readable, and more flexible/idiomatic (can potentially use other objects that implement #to_sym as keys).