Class: Releaf::ResourceFields

Inherits:
ResourceBase show all
Defined in:
app/lib/releaf/resource_fields.rb

Direct Known Subclasses

ResourceTableFields

Instance Attribute Summary

Attributes inherited from ResourceBase

#resource_class

Instance Method Summary collapse

Methods inherited from ResourceBase

#association_attributes, #association_excluded_attributes, #associations, #associations_attributes, #base_attributes, #excluded_associations, #includable_association?, #includable_association_types, #initialize, #localized_attributes, #localized_attributes?, title, title_methods, #values

Constructor Details

This class inherits a constructor from Releaf::ResourceBase

Instance Method Details

#excluded_attributesObject


3
4
5
# File 'app/lib/releaf/resource_fields.rb', line 3

def excluded_attributes
  super + %w(password password_confirmation encrypted_password)
end