update application.rb to config app for iframing