module AmazingPrint::Mongoid
def self.included(base)
def self.included(base) base.send :alias_method, :cast_without_mongoid, :cast base.send :alias_method, :cast, :cast_with_mongoid end
def self.included(base) base.send :alias_method, :cast_without_mongoid, :cast base.send :alias_method, :cast, :cast_with_mongoid end