mongodb/bson-ruby — pull request #18 by durran (2014-05-20 15:25:14+00:00)
Title: Raise a nice error when serializing invalid keys.

This will get raised on all objects except for string and symbol.

https://jira.mongodb.org/browse/RUBY-752