Clean up your ApplicationController using "controller helpers"
So you have a lots of methods piled up your ApplicationController and it's getting kinda messy. Why not extract groups of them to so-called "controller helpers" based on the model of Rails's view helpers?
Here's how I did it:
http://dryobjects.com/2012/11/07/controller-helpers
Written by Levente Bagi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Refactoring
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#