Search Results for "decorators-with-draper"
Lessons
Forum Threads
Draper Gem or explicitly use Decorators and Presenters?
Hi, my question is simple that sometimes I have to extend my model with methods that are usually for more advance business logics and sometimes I need some methods that are used in views (not speci...
Ali Ahmed
posted
1
Rails
Decorators From Scratch Discussion
Why not use Mixins instead? Wouldn't that work the same magic of keeping code seperated and clean, but without losing access to all the decorator logic when handling the base Model?
Daniel Jackson
replied
18
General
Liking Posts Discussion
Hey! I really appreciate all these screencasts, happily pro user. For this I'm getting an "undefined method 'likes'" on the user model so i'm a little stuck. Any ideas why?Cheers! :)
Juanmnl
replied
97
General
Markdown and Emoji with the html-pipeline gem Discussion
Do you have source code on this episode?
Colin Ambler
replied
26
General
Refactoring with the Null Object Pattern Discussion
A really cool video Chris thanks!
Sergio Márquez
replied
23
General
Decorating with SimpleDelegator and Modules Discussion
Here's the blog post in case someone is interested
https://thoughtbot.com/blog/evaluating-alternative-decorator-implementations-in
Rodrigo Marques
replied
5
General