Skip to content

automatically detect file encoding

Igor Fedoronchuk edited this page Jan 21, 2015 · 1 revision
 ActiveAdmin.register Post  do
        active_admin_import validate: true,
            template_object: ActiveAdminImport::Model.new(
                force_encoding: :auto
            )
 end