require 'html/document' after 'action_controller'