def body_tag(options={}, &block)
      options = canonicalize_options(options)
      options.delete(:class) if options[:class].blank?
      options[:data] ||= {}
      options[:data][:controller] = controller.controller_name
      options[:data][:action] = controller.action_name
      
      content_tag(:body, options) do
        yield
      end
    end
def body_tag(options={}, &block)
      options = canonicalize_options(options)
      options.delete(:class) if options[:class].blank?
      options[:data] ||= {}
      options[:data][:controller] = controller.controller_name
      options[:data][:action] = controller.action_name
      
      content_tag(:body, options) do
        yield
      end
    end
Includes controller and action name as data attributes.

 @example
  body_tag()  #=> <body data-action='index' data-controller='home'>

  body_tag(id: 'my-id', class: 'my-class')  #=> <body class="my-class" data-action="index" data-controller="home" id="my-id">
 @param options [Hash] become attributes of the BODY tag
 @return [String]