app/controllers/anoubis/data/defaults.rb
##
# Returns fields that is used for controller actions in defined {#model}. By default it's defined for id field.
# This is primary definition and it must be defined in customer conroller. Different fields may be defined according
# by {Anoubis::Etc::Base#action self.etc.action} attribute.
# @return [Hash] returns defined fields for current model
Returns fields that is used for controller actions in defined {#model}. By default it's defined for id field.
This is primary definition and it must be defined in customer conroller. Different fields may be defined according
by {Anoubis::Etc::Base#action self.etc.action} attribute.
Returns fields that is used for controller actions in defined { #model } . By default it ' s defined for id field . This is primary definition and it must be defined in customer conroller . Different fields may be defined according by { Anoubis :: Etc :: Base#action self . etc . action } attribute .
def fields
        {
          id: { type: 'number', precision: 0 }
        }
      end
def fields { id : { type : 'number' , precision : 0 } } end
Returns fields that is used for controller actions in defined {#model}.
Returns fields that is used for controller actions in defined { #model } .
returns defined fields for current model
returns defined fields for current model
Hash