Module: CrudComponents::Model
- Defined in:
- lib/crud_components/model.rb
Overview
‘include CrudComponents::Model` adds the crud_structure DSL. It is only needed to declare things — rendering works for any ActiveRecord model.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 |
# File 'lib/crud_components/model.rb', line 5 def self.included(base) base.extend(ClassMethods) end |