Template application for Rails 4