# File lib/mongoid/fields/serializable/string.rb, line 21 def serialize(object) object.try(:to_s) end