RailsCasts Pro episodes are now free!

Learn more or hide this

Refactoring Out Helper Object

#101 Refactoring Out Helper Object

Apr 14, 2008 | 7 minutes | Views, Refactoring
If you have complex view logic, this can easily lead to helper methods which call each other. See how to refactor this out into another object in this episode. This is also known as the presenter pattern.
  • Download:
  • mp4Full Size H.264 Video (14.2 MB)
  • m4vSmaller H.264 Video (8.65 MB)
  • webmFull Size VP8 Video (22.3 MB)
  • ogvFull Size Theora Video (20.2 MB)