class ApplicationController < ActionController::API
  include ActionController::Serialization
end

class ApplicationController < ActionController::API
  include ActionController::Serialization

  #make root node false, globally
  def default_serializer_options
    {root: false}
  end

end

Set global default to make root node false
Set global default to make root node false
