Questions tagged [active-admin-import]

https://github.com/activeadmin-plugins/active_admin_import gem that adds import functionality to activeadmin

5 questions
1
vote
0 answers

active admin editor is not uploading form successfully

ActiveAdmin Trumbowyg is not working properly. I have added upload option using it and uploaded file as per code give here. It successfuly uploads the file, but it is not inserted inside text area. form do |f | f.inputs do f.input: title …
1
vote
1 answer

How to DISABLE active_admin_import action by condition

How to disable active_admin_import action by condition on index page I have a code to disable 'new, create, destroy' actions by condition. Need to do same with active_admin_import controller do def action_methods if…
1
vote
0 answers

active_admin_import with acts-as-taggable-on columns

I'm trying to import a CSV for a model that has a few acts-as-taggable-on properties. The tags are comma-separated, so I can write a basic rake task to import a CSV like this CSV.foreach(filename, :headers => true) do |row| Post.create!({ …
0
votes
1 answer

How to append param at end of every route active admin

I am struggling to add param at the end of every route in active admin any idea how it can be done?? For example /admin/edge?journey=1 i want journey param to be appended to all actions urls Any help or suggestion would be greatly appreciated
0
votes
1 answer

I get an error when importing data into User model

I am using devise gem for user session operations. I want to import data to the user model in the admin panel. Ruby version: 2.4.1p111 Rails version: Rails 5.1.4 Admin panel gem: activeadmin Admin panel import gem:…