Class: Super::Controls
- Inherits:
-
Object
- Object
- Super::Controls
- Defined in:
- lib/super/controls.rb,
lib/super/pagination.rb,
lib/super/controls/view.rb,
lib/super/controls/steps.rb,
lib/super/controls/optional.rb
Overview
The base Controls class. Most parts of Super can be configured by customizing its methods.
Defined Under Namespace
Modules: Optional, Steps, View
Instance Method Summary collapse
-
#model ⇒ ActiveRecord::Base
Specifies the model.
Methods included from View
#edit_view, #index_view, #new_view, #show_view
Methods included from Steps
#apply_queries, #build_record, #build_record_with_params, #destroy_record, #initialize_filter_form, #initialize_pagination, #initialize_query_form, #initialize_sort_form, #load_record, #load_records, #paginate_records, #save_record, #update_record
Methods included from Optional
#collection_actions, #default_sort, #display_schema, #filter_schema, #filters_enabled?, #form_schema, #member_actions, #permitted_params, #records_per_page, #scope, #sort_enabled?, #sortable_columns, #title
Instance Method Details
#model ⇒ ActiveRecord::Base
Specifies the model. This is a required method
18 19 20 |
# File 'lib/super/controls.rb', line 18 def model raise NotImplementedError end |