Exception: Identifiable::Errors::LengthMustBeNilIfStyleIsUuidError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/identifiable/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeLengthMustBeNilIfStyleIsUuidError

Returns a new instance of LengthMustBeNilIfStyleIsUuidError.



52
53
54
# File 'lib/identifiable/errors.rb', line 52

def initialize
  super('The identifiable\'s length cannot be set if you\'re using the :uuid style, because UUIDs have a fixed length. You should remove the length parameter.')
end