Module: DynamicFieldsets::DynamicFieldsetsInModel

Defined in:
lib/dynamic_fieldsets/dynamic_fieldsets_in_model.rb

Overview

Adds dynamic fieldsets to models. The configuration options here determine which fieldset is associated with the model and how it is identified. The model knows which fieldset it is suppoed to be associated with and where the values for the fieldset are stored.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
# File 'lib/dynamic_fieldsets/dynamic_fieldsets_in_model.rb', line 8

def self.included(base)
  base.extend ClassMethods
end