Exception: ActiveRecord::Import::MissingColumnError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/activerecord-import/import.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, index) ⇒ MissingColumnError

Returns a new instance of MissingColumnError.



21
22
23
# File 'lib/activerecord-import/import.rb', line 21

def initialize(name, index)
  super "Missing column for value <#{name}> at index #{index}"
end