dry_crud is a Rails generator that generates simple and extendable
controller, views and helpers that support you to DRY up the CRUD code
in your Rails project. Start with these elements and build a clean
base to efficiently develop your application upon.
The main idea of dry_crud is to concentrate basic functionality of
your application, like CRUD actions, uniform formatting, forms and
tables into specifically extendable units. dry_crud generates various
foundation classes that you may freely adapt to your application's
needs. For each model, you may transparently customize arbitrary parts
or just fallback to the general behaviour. This applies not only for
controllers, but also for view templates and helpers.
Install the gem with:
gem install dry_crud
Then simply run the following generator in your Rails app to get the
Enjoy dry_crud and stay DRY!