Module: Mobility::Backends::Sequel::Table::Translation
- Defined in:
- lib/mobility/backends/sequel/table.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
176 177 178 |
# File 'lib/mobility/backends/sequel/table.rb', line 176 def self.included(base) base.plugin :validation_helpers end |
Instance Method Details
#validate ⇒ Object
180 181 182 183 |
# File 'lib/mobility/backends/sequel/table.rb', line 180 def validate super validates_presence [:locale] end |