class ActiveRecord::Serialization::Serializer
def serializable_method_names
def serializable_method_names Array(options[:methods]).inject([]) do |method_attributes, name| method_attributes << name if @record.respond_to?(name.to_s) method_attributes end end