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.



23
24
25
# File 'lib/activerecord-import/import.rb', line 23

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