Rails Anti-Pattern: Fat Decorator
Using decorators in Rails makes models less fat and views less complicated. But what if the decorators become fat? Read on to learn how large decorators hurt your codebase and what you can do about it.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Using decorators in Rails makes models less fat and views less complicated. But what if the decorators become fat? Read on to learn how large decorators hurt your codebase and what you can do about it.
Post a comment