This is a summary of all of our key learnings from the I18n sprint. I've also added this to our best practices page
Decorators are classes we use to add presentation logic to specific models. They should be instantiated with a single model. An example is the Member Decorator
The MemberDecorator
adds presentation logic to the Member
model, which shouldn't know how to render your friends_gender
, for instance.