Custom Rails ActiveAdmin page with a simple workflow for import
I am using ActiveAdmin for one of my projects and I am very disappointed with its learning curve. ActiveAdmin does a pretty good job of doing simple things in a book, but when it comes to something pretty complex it gets pretty complicated.
I'm trying to create this simple use case, but I'm really stuck with ActiveAdmin. USECASE:
- The user opens a custom page, i.e. called program
- There it finds a simple file input form that allows it to upload a file
- After submitting the file, the user is redirected to a summary page, which displays the contents of the file, the parsed program, and information about what will happen when he confirms the action. There will be a confirm and cancel button.
- When the confirm button is pressed, the file is processed and the result is displayed
How do I accomplish this simple and trivial use case with ActiveAdmin? Can anyone provide a simple example with a custom page, controller actions, appropriate partial view, or whatever it takes to get it done?
Thank.
+3
source to share
No one has answered this question yet
Check out similar questions: