Sha256: 2e6d705de511f49ff9fe9213827307b8876ea28148035470259517b19e790b73
Contents?: true
Size: 326 Bytes
Versions: 5
Compression:
Stored size: 326 Bytes
Contents
class SelfField < Field def strip_nil? true end def default_input_type nil end def validate(record, errors) # noop end def typecast(value, record) record end def untypecast(value, record) nil end def from_json(value, record) nil end end Field::TYPES['self'] = SelfField
Version data entries
5 entries across 5 versions & 1 rubygems