Sha256: b2e3949f9db64aaeb35d0e7f36485de94ffa2c738d269d11d99923f5a0c0ed49
Contents?: true
Size: 350 Bytes
Versions: 41
Compression:
Stored size: 350 Bytes
Contents
module Mobility module Sequel =begin Module included in translation class dynamically generated by {Backends::Sequel::Table} backend. =end module ModelTranslation def self.included(base) base.plugin :validation_helpers end def validate super validates_presence [:locale] end end end end
Version data entries
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
mobility-0.2.0 | lib/mobility/sequel/model_translation.rb |