fix the template for Rails < 4 apps

Fixes issue #47