Modify application helper

Run ruby 1.8

fixes #1