RailsCasts
Ryan Bates
Add to My Podcasts
Episodes
About
Reviews
Promote
Show notes
Clean up complex view logic using Draper. This gem provides decorators (much like presenters) which bundles view logic in an object oriented fashion. In this episode I do a step-by-step refactoring of a complex template into a decorator.
Listen Instead
Switch to Audio
Refresh video
Previous
#285 Spork
Next
#288 Billing with Stripe
← See all 346 episodes of RailsCasts