active_admin_import
active_admin_import copied to clipboard
:paperclip: active_admin_import is based on activerecord-import gem - the most efficient way to import for ActiveAdmin
https://github.com/activeadmin-plugins/active_admin_import/blob/90e82de06cc6cfa2af10953a4c9597eac62e6fe6/lib/active_admin_import/import_result.rb#L36 `attribute_names` is now needed instead. See [active model's code] (https://github.com/rails/rails/blob/53410537594be0c0a528cff53dce433dd386cb6a/activemodel/lib/active_model/errors.rb#L273) for the specifics
I was looking for a solution to https://github.com/activeadmin-plugins/active_admin_import/issues/179 Luckily I'm using postgres, and activerecord-import stores the ids for postgres: https://github.com/zdennis/activerecord-import#return-info I understand this is not the ideal solution for everyone,...
I would love if this was able to update records based on an id column.
Given a file with the headers: `supplier,sku,name,description,shipping,price,quantity_unit,minimum_quantity,maximum_quantity` After running in a before_batch_import callback, `importer.batch_slice_columns(%w[supplier sku price minimum_quantity maximum_quantity])` the headers are sliced as expected. However, if I wanted to further...
Hey I want to send different params when I run importer and use it in `before_batch_import` method How its possible? Thanks for gem )
While importing a CSV to create users, I'd like to add associations to records on other models. I have looked at this solution: https://github.com/activeadmin-plugins/active_admin_import/issues/68 This solution works if you have...
Am seeing these messages ``` DEPRECATION WARNING: input_class is deprecated and will be removed from Formtastic 4.0 (configure Formtastic::FormBuilder.input_class_finder instead (upgrade guide on wiki: http://bit.ly/1F9QtKc )) (called from block (2...
also it will be nice to have ability to pass template_object as proc