# File lib/action_view/template_handlers/rjs.rb, line 8 def compile(template) "controller.response.content_type ||= Mime::JS\n" + "update_page do |page|\n#{template}\nend" end