Hi,
We having been using MongoDB Ruby driver 1.5 in our Rails (version 3.0.1) app using Ruby 1.8.7. We want to use the latest MongoDb Ruby driver (1.7.0) but got a bunch of warnings:
.../activesupport-3.0.1/lib/active_support/core_ext/enumerable.rb:79: warning: multiple values for a block parameter (2 for 1)
from .../ruby-1.8.7-p357/gems/bson-1.7.0/lib/bson/ordered_hash.rb:81
I know that there are some differences on hashes between 1.8 and 1.9, but it's said that bson gem is compatible with both Ruby 1.8.x and 1.9.x. Because of this, some of our tests won't pass. Any idea why we got these kind of warnings? Any suggestion on how we can deal with this problem?
Thanks,
Alex