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.
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 |