Class: Uchi::Field::Id

Inherits:
Number show all
Defined in:
app/components/uchi/field/id.rb

Overview

The Id field is intended for unique identifiers, such as primary keys. It contains a link to the records show page, and is not considered editable. As such it is only displayed in index and show views by default.

Defined Under Namespace

Classes: Index, Show

Constant Summary

Constants included from Configuration

Configuration::DEFAULT_READER

Instance Attribute Summary

Attributes inherited from Uchi::Field

#name, #repository

Method Summary

Methods inherited from Uchi::Field

#column_name, #edit_component, #edit_component_class, #group_as, #index_component, #index_component_class, #initialize, #param_key, #permitted_param, #show_component, #show_component_class, #value

Methods included from Configuration

#initialize, #on, #reader, #searchable, #searchable?, #sortable, #sortable?

Constructor Details

This class inherits a constructor from Uchi::Field