method
serializable_method_names
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Serialization::Serializer
serializable_method_names()public
No documentation available.
# File activerecord/lib/active_record/serialization.rb, line 30
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