Exception: Identifiable::Errors::ColumnCannotBeIdError

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

Instance Method Summary collapse

Constructor Details

#initializeColumnCannotBeIdError

Returns a new instance of ColumnCannotBeIdError.



14
15
16
# File 'lib/identifiable/errors.rb', line 14

def initialize
  super('The identifiable\'s column cannot be :id, since that\'s your primary key. You should create another index column in your table with a name like :public_id.')
end