Sha256: 89376db098df286936e68a9c0dc84dc1bb1b634d82e59b27dc93f3998bd18b6e
Contents?: true
Size: 279 Bytes
Versions: 9
Compression:
Stored size: 279 Bytes
Contents
module NotRelational class IsNullTransform attr_accessor :name attr_accessor :source_column def initialize(source_column ) self.source_column =source_column self.name = "#{name}_is_null".to_sym end def transform(value) value.nil?.to_s end end end
Version data entries
9 entries across 9 versions & 1 rubygems