Exception: ActiveRecord::Import::MissingColumnError

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

Instance Method Summary collapse

Constructor Details

#initialize(name, index) ⇒ MissingColumnError

Returns a new instance of MissingColumnError.



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

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