Exception: ActiveRecord::Import::MissingColumnError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveRecord::Import::MissingColumnError
- Defined in:
- lib/activerecord-import/import.rb
Instance Method Summary collapse
-
#initialize(name, index) ⇒ MissingColumnError
constructor
A new instance of MissingColumnError.
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 |