Exception: ShaAttribute::Sha256AttributeTypeMismatchError

Inherits:
ShaAttributeTypeMismatchError show all
Defined in:
app/models/concerns/sha_attribute.rb

Instance Method Summary collapse

Methods inherited from ShaAttributeTypeMismatchError

#initialize

Constructor Details

This class inherits a constructor from ShaAttribute::ShaAttributeTypeMismatchError

Instance Method Details

#messageObject



18
19
20
# File 'app/models/concerns/sha_attribute.rb', line 18

def message
  "sha256_attribute :#{@column_name} should be a :binary column but it is :#{@column_type}"
end