set initialize_on_precompile to false
 since Heroku requires this to be false:  in that case templates cannot see application objects or methods. Heroku requires this to be false