At the #mwrc 'Advanced Rails Design' workshop by @noelrap The "Deal with the mess created over 5 yrs" theme continues.
"Advanced Rails Design: Use Fancy OO Techniques Without Turning Ruby into Java" by Noel Rappin As Rails applications have grown and become more complex, limitations of the classic "Fat model, skinny controller" architecture have become evident. Large model classes and tight database coupling become difficult to maintain and slow to test. There have been many attempts to manage this issue. Overgeneralizing, these structures tend to add additional architecture layers that use ActiveRecord as a dumb model and use some form of dependency injection to allow for more dynamic management of object relationships. All this sounds great, but if you came to Rails precisely because it didn't have the kind of architectural overhead that more complex frameworks required then you're probably looking at these ideas with some skepticism. In this workshop, we'll show how to apply these model...