Update application.rb

Adding explanation for some code