Class: Locomotive::Translation
- Inherits:
-
Object
- Object
- Locomotive::Translation
- Defined in:
- app/models/locomotive/translation.rb
Instance Method Summary collapse
-
#key ⇒ Object
validations ##.
-
#ordered ⇒ Object
named scopes ##.
-
#touch_site_attribute ⇒ Object
methods ##.
Instance Method Details
#key ⇒ Object
validations ##
9 |
# File 'app/models/locomotive/translation.rb', line 9 field :key |
#ordered ⇒ Object
named scopes ##
18 |
# File 'app/models/locomotive/translation.rb', line 18 scope :ordered, -> { order_by(key: :asc) } |
#touch_site_attribute ⇒ Object
methods ##
33 34 35 |
# File 'app/models/locomotive/translation.rb', line 33 def touch_site_attribute :content_version end |