# File lib/mongoid/fields/serializable/symbol.rb, line 21 def serialize(object) object.blank? ? nil : object.to_sym end