application.rb premcopile