Sha256: b72c37a00cc543b3b130f1fb39c4aa394bb9f5daef9a2fd3f3fdfcd19db6891c
Contents?: true
Size: 432 Bytes
Versions: 5
Compression:
Stored size: 432 Bytes
Contents
# encoding: UTF-8 module MongoMapper module Extensions module String extend ActiveSupport::Concern module ClassMethods def to_mongo(value) value && value.to_s end def from_mongo(value) value && value.to_s end end def _mongo_mapper_deep_copy_ self.dup end end end end class String include MongoMapper::Extensions::String end
Version data entries
5 entries across 5 versions & 1 rubygems