
Rails generator which allows to scaffold admin controllers, views with proper (non-namespaced) models, helpers, tests and routes
Rails Admin Scaffold is a powerful generator designed for Ruby on Rails 4 that streamlines the creation of admin controllers, views, and models, ensuring that everything is properly organized without namespaces. It simplifies the development process, allowing developers to efficiently set up a fully functional admin panel with minimal effort.
With just a few commands, you can scaffold your admin interface seamlessly, including helpers, tests, and routes. This tool is particularly beneficial for developers looking to enhance their productivity while maintaining clean and manageable code.
Easy Installation: Simply add gem 'rails-admin-scaffold', 'x.x.x' to your Gemfile and run bundle install to get started.
Customizable Scaffold Generation: Use commands like bin/rails g admin:scaffold_controller Post title:string content:text published:boolean to generate models, views, and controllers tailored to your needs.
Template Customization: Personalize your scaffold templates by placing your custom view files in /lib/templates/admin/scaffold_controller/views/erb/, allowing for better project aesthetics and structure.
Prefix Name Adjustment: Easily change the prefix from 'admin' to any name you desire (e.g. 'manager') with the --prefix_name=xxxx option, enhancing clarity in your project's structure.
Parent Controller Configuration: Control what your generated controllers inherit from by using --parent_controller to specify a custom parent controller like AdminController.
Bootstrap Support: Generate Bootstrap-friendly views effortlessly with the --bootstrap option, helping to streamline your UI design process.
Support for Rails 4+: Fully compatible with Rails 4 and later versions, ensuring that it meets modern development standards.
Future Enhancements Planned: Upcoming features include Haml and Jbuilder support, improved testing frameworks, and more flexibility with controller generation options.
