Class: Locomotive::Snippet
- Inherits:
-
Object
- Object
- Locomotive::Snippet
- Includes:
- Extensions::Shared::Slug, Mongoid::Document
- Defined in:
- app/models/locomotive/snippet.rb
Instance Method Summary collapse
-
#name ⇒ Object
behaviours ##.
-
#site ⇒ Object
validations ##.
Instance Method Details
#name ⇒ Object
behaviours ##
8 |
# File 'app/models/locomotive/snippet.rb', line 8 field :name |
#site ⇒ Object
validations ##
13 |
# File 'app/models/locomotive/snippet.rb', line 13 belongs_to :site, class_name: 'Locomotive::Site', validate: false, autosave: false |