updated coding in  app/models/application.rb
updated partial file with lowercase and created method transform