Sha256: 6f7acbae0c6691e06885942844bfd6c2b765e3dcd3cb0b5da70c5996e1263a46
Contents?: true
Size: 257 Bytes
Versions: 30
Compression:
Stored size: 257 Bytes
Contents
module Gummi module DbLayer module Fields class Integer < Virtus::Attribute def coerce(value) value.to_i if value.present? end def mapping { type: 'integer' } end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems