@@ -7,20 +7,20 @@ module DSL
77 # Options
88 # +back+:: resource action to redirect after processing
99 # +csv_options+:: hash to override default CSV options
10- # +validate+:: true|false, means perfoem validations or not
1110 # +batch_size+:: integer value of max record count inserted by 1 query/transaction
1211 # +before_import+:: proc for before import action, hook called with importer object
1312 # +after_import+:: proc for after import action, hook called with importer object
1413 # +before_batch_import+:: proc for before each batch action, called with importer object
1514 # +after_batch_import+:: proc for after each batch action, called with importer object
15+ # +validate+:: true|false, means perform validations or not
1616 # +on_duplicate_key_update+:: an Array or Hash, tells activerecord-import to use MySQL's ON DUPLICATE KEY UPDATE ability.
1717 # +timestamps+:: true|false, tells activerecord-import to not add timestamps (if false) even if record timestamps is disabled in ActiveRecord::Base
1818 # +ignore+:: true|false, tells activerecord-import to use MySQL's INSERT IGNORE ability
1919 # +template+:: custom template rendering
2020 # +template_object+:: object passing to view
2121 # +resource_class+:: resource class name, override to import to another table (default config.resource_class)
2222 # +resource_label+:: resource label value (default config.resource_label)
23- # +plural_resource_label+:: plaralized resource label value (default config.plural_resource_label)
23+ # +plural_resource_label+:: pluralized resource label value (default config.plural_resource_label)
2424 #
2525
2626 def active_admin_import ( options = { } , &block )
0 commit comments