mongoid/mongoid — pull request #3897 by narutosanjiv (2014-12-26 10:45:17+00:00)
Title: changes done as per ruby style guide

1) Hash#has_key? has been depreciated in favour of Hash#key?
2) &block is unused variable , it would be better to name it starting with _.