Class: Torque::PostgreSQL::Attributes::Struct::Uninitialized

Inherits:
Object
  • Object
show all
Defined in:
lib/torque/postgresql/attributes/struct.rb

Overview

ActiveModel keeps a sentinel object as the original value of a property that was never written to, which leaks into changes and into anything built on top of it, so it reads as nil instead

Instance Method Summary collapse

Instance Method Details

#original_valueObject



13
14
# File 'lib/torque/postgresql/attributes/struct.rb', line 13

def original_value
end