Module: Viewmatic::Model
- Defined in:
- lib/viewmatic/model.rb
Overview
Helpers for view-based ActiveRecord models.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
-
#readonly? ⇒ Boolea
All view record are read-only.
Class Method Details
.included(model) ⇒ Object
6 7 8 |
# File 'lib/viewmatic/model.rb', line 6 def self.included(model) model.extend ClassMethods end |
Instance Method Details
#readonly? ⇒ Boolea
All view record are read-only.
15 16 17 |
# File 'lib/viewmatic/model.rb', line 15 def readonly? true end |