Class: BaseComponent
- Inherits:
-
Puffer::Component::Base
- Object
- AbstractController::Base
- Puffer::Component::Base
- BaseComponent
- Defined in:
- app/components/base_component.rb
Direct Known Subclasses
BooleanComponent, DateTimeComponent, FileComponent, HiddenComponent, NestedAttributesManyComponent, NestedAttributesOneComponent, PasswordComponent, SelectComponent, StringComponent, TextComponent
Instance Attribute Summary
Attributes inherited from Puffer::Component::Base
#field, #identifer, #opts, #parent_controller, #record, #records, #resource
Instance Method Summary collapse
Methods inherited from Puffer::Component::Base
#component_id, #event_options, #event_path, #event_url, #fallback_action, #initialize, #javascript_wrap, #method_for_action, #process, #render, #replace
Methods included from Puffer::Component::Base::ClassMethods
Constructor Details
This class inherits a constructor from Puffer::Component::Base
Instance Method Details
#filter ⇒ Object
11 12 |
# File 'app/components/base_component.rb', line 11 def filter end |
#form ⇒ Object
7 8 9 |
# File 'app/components/base_component.rb', line 7 def form render end |
#index ⇒ Object
3 4 5 |
# File 'app/components/base_component.rb', line 3 def index @record.call_chain(field.to_s) end |