Method: Anoubis::Etc::FieldOptions#show

Defined in:
app/controllers/anoubis/etc/field_options.rb

#showString

Describes when options shown in output for ‘edit’ and ‘new’ actions. Possible values of fields are:

  • ‘init’ – Options shown only when time set to 0 in action

  • ‘never’ – Options newer shown

  • ‘always’ – Options always shown

  • ‘update’ – Options shown when time less then updated_at time of options model

Returns:

  • (String)

    options’ show type.



13
# File 'app/controllers/anoubis/etc/field_options.rb', line 13

class_attribute :show, default: 'init'