Class: Releaf::ResourceTableFields
- Inherits:
-
ResourceFields
- Object
- ResourceBase
- ResourceFields
- Releaf::ResourceTableFields
- Defined in:
- app/lib/releaf/resource_table_fields.rb
Instance Attribute Summary
Attributes inherited from ResourceBase
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_attributes ⇒ Object
3 4 5 |
# File 'app/lib/releaf/resource_table_fields.rb', line 3 def excluded_attributes super + table_excluded_attributes end |
#table_excluded_attributes ⇒ Object
7 8 9 |
# File 'app/lib/releaf/resource_table_fields.rb', line 7 def table_excluded_attributes (base_attributes + localized_attributes).select{|c| c.match(/.*(_uid|_html)$/) } end |