Decorators with the Draper Gem Discussion
Discussion for
Decorators with the Draper Gem
How do you handle something where you're using a foreign key, for example a Commentable concern. Comment has a user as commenter. The User class method works fine, but is there a catch all way to address these or do I need to set up instances in the relative controller methods?
Great tutorial. Would be great if there are more tutorials for design pattern in Rails... Keep up the great work...