module DynamicActiveModel::DangerousAttributesPatch::ClassMethods

no-doc

Public Instance Methods

attribute_names() click to toggle source
# File lib/dynamic-active-model/dangerous_attributes_patch.rb, line 14
def attribute_names
  names = original_attribute_names.dup
  names.reject! { |name| dangerous_attribute_method?(name) }
  names
end