Method: ActiveRecordImporter::Import#execute
- Defined in:
- lib/app/models/import.rb
#execute ⇒ Object
I’ll add import options in the next major release accepts_nested_attributes_for :import_options, allow_destroy: true
30 31 32 |
# File 'lib/app/models/import.rb', line 30 def execute resource_class.import!(object: self, execute: execute_on_create) end |