Class: Engine2::ManyToOneListMeta

Inherits:
ListMeta show all
Defined in:
lib/engine2/meta/list_meta.rb

Overview

Many to One

Instance Attribute Summary

Attributes included from MetaListSupport

#filters, #orders

Attributes inherited from Meta

#action, #assets, #invokable, #static

Instance Method Summary collapse

Methods inherited from ListMeta

#invoke, #list_context, #list_search, #post_run

Methods included from MetaListSupport

#filter, #order, #post_process, #post_run, #search_live, #search_template, #searchable, #searchable_tabs, #sortable, #template

Methods included from MetaModelSupport

#action_defined, #get_type_info, #hide_pk, #show_pk, #unsupported_association

Methods included from MetaAPISupport

#config, #decorate, #field_filter, #hide_fields, #info, #info!, #render, #show_fields

Methods included from MetaTabSupport

#field_tabs, #lazy_tab, #select_tabs

Methods included from MetaPanelSupport

#glyphicon, #modal_action, #panel, #panel_class, #panel_panel_template, #panel_template, #panel_title, #post_run

Methods included from MetaMenuSupport

#menu, #post_process

Methods included from MetaOnChangeSupport

#on_change

Methods included from MetaQuerySupport

#get_query, #post_run, #query, #select

Methods inherited from Meta

#action_defined, #check_static_meta, #dynamic?, #freeze_meta, #get, http_method, #http_method, inherited, #initialize, #invoke!, #lookup, #merge, #meta_type, meta_type, #post_process, #post_run, #request, #request_meta_proc_params, #response, #split_keys

Constructor Details

This class inherits a constructor from Engine2::Meta

Instance Method Details

#pre_runObject



145
146
147
148
# File 'lib/engine2/meta/list_meta.rb', line 145

def pre_run
    super
    config.merge!(selectable: false)
end