Exception: BulkMethodsMixin::BulkUploadDataInconsistent
- Inherits:
-
StandardError
- Object
- StandardError
- BulkMethodsMixin::BulkUploadDataInconsistent
- Defined in:
- lib/bulk_data_methods/bulk_methods_mixin.rb
Overview
exception thrown when row data structures are inconsistent between rows in single call to #create_many or #update_many
Instance Method Summary collapse
-
#initialize(model, table_name, expected_columns, found_columns, while_doing) ⇒ BulkUploadDataInconsistent
constructor
A new instance of BulkUploadDataInconsistent.
Constructor Details
#initialize(model, table_name, expected_columns, found_columns, while_doing) ⇒ BulkUploadDataInconsistent
Returns a new instance of BulkUploadDataInconsistent.
11 12 13 |
# File 'lib/bulk_data_methods/bulk_methods_mixin.rb', line 11 def initialize(model, table_name, expected_columns, found_columns, while_doing) super("#{model.name}: for table: #{table_name}; #{expected_columns} != #{found_columns}; #{while_doing}") end |