Class: RhinoModel
- Inherits:
-
Rhino::RhinoModel
- Object
- ActiveRecord::Base
- Rhino::RhinoModel
- RhinoModel
- Defined in:
- lib/rhino/templates/rhino_model.rb
Overview
Application-level RhinoModel base class.
This file was published from the rhino gem. You can customise it to add concerns or configuration that apply to ALL your Rhino models.
Published with: rails rhino:install –publish-model
To use:
class Post < RhinoModel
# ...
end
The parent class already includes:
- Rhino::HasRhino, Rhino::HasValidation,
Rhino::HidableColumns, Rhino::HasAutoScope
Add your own concerns or override defaults below.
Constant Summary
Constants included from Rhino::HidableColumns
Rhino::HidableColumns::BASE_HIDDEN_COLUMNS
Method Summary
Methods included from Rhino::HidableColumns
#as_rhino_json, #hidden_columns_for, #rhino_computed_attributes