I am using Single-Table-Inheritance for a rails project. And I was wondering if it were possible to share functionality for some common functions between subclasses by implementing them in the superclass.
Is it possible to recycle the views of the superclass as well? Or should I write new views for the common functions? This wouldn't be very DRY. What were the DRY approach? Should I edit the routes.rb
or is there another way to dynamically accomplish this?
Best, E.