controller_prototyping
DRY is one often repeated postulate of rails.
However, building a simple viewer application for a legacy database with a lot of model objects, I was disappointed of the amount of generated scaffold code for controllers and views using the standard "Rails way".
Sure, there are quite some plugins to DRY-up the generated code (like rest_controller or resource_this) - but, heck, why do I still have to create all that individual controller-classes? Why don‘t let the system generate them by itself from just ONE prototype that defines the generic behaviour.
Enter controller_prototyping…
This plugin monkey patches Rail‘s routing and instantiates a controller-class out of a defined prototype-class whenever there is no explicit controller-class available, freeing you from the urge to define a load of similar-looking controller-classes.