Service Objects

Carriers, Services and views on a diet
Vipul A M • October 02, 2015 • Earth

Anyone who has done any Rails development knows that views gets complicated very fast. Conditional styling, violating laws of delimiter by double dots, complex business logic deciding view context, skewing and much more plague typical rails views.

In this talk we'll explore use of simple ruby classes to clean up views, models, controllers, by use of services. We'll delve deeper into 'View Carriers', extracting away complexity out of views, take a look at when rails view helpers fail us, testing strategies, and comparing existing approaches like Trailblazer.

Because views need to be beautiful too!

Rocky Mountain Ruby 2015

Explore all talks recorded at Rocky Mountain Ruby 2015
+9