Admin Interfaces with Administrate Discussion
I would not trust this with production data. It's much much much too early for anything more than a pet project.
Maybe, maybe not. It's definitely new but it's not much more than some basic scaffold generators right now. Nothing too special. I wouldn't use it on a client project yet, but I'd absolutely use it on personal projects.
really like the UI and simplicity of this Gem but yeah i think its too early to adopt..I couldn't find a command to remove all the files it has generated..is there any?
Great Tutorial. I would definitely use it for my personal project. My only concern if it works properly with Heroku in Production mode ?
I don't think there are any changes between the gem in development and production. You should be safe there.
Didnt find implementation for custom pages. Or there is nothing about this?
Since these are just regular scaffolds, you can add routes and actions like you normally would. It's not really documented anywhere yet, but that's about all you would do.
Hi Chris, Thanks very much for this overview. I'm trying to use this, except I'm running into a problem, which I think is related to have objects for which there is no controller.
I am currently getting this error:
NameError in Admin::Users#show
Showing /Users/mm/.rvm/gems/ruby-2.2.2/gems/administrate-0.1.3/app/views/fields/has_many/_show.html.erb where line #24 raised:
uninitialized constant Mailboxer::MessageDashboard
I think the problem might be that it can't make a space in the dashboard if there is no controller action. Do you have any ideas for how to solve this?
Thanks very much.
Also, if it helps others, if errors come up when you try to run the installer, try deleting the routes, running 'spring stop' in your terminal and re-running the installer.
To get your customized views to work move app/views/admin/applications to app/views/administrate/application. The generator does not copy files to the correct path.
Sounds like a good pull request for someone to submit to the repo if they have time! *hint hint*
is this fully supported in Rails 6 now?
Yeah, should be. I have been using my own fork of it too. https://github.com/excid3/jumpstart