Support for Mongoid dynamic fields
Fix for ruby 1.8.7