Skip to content
This repository
branch: serializers
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 14 lines (12 sloc) 0.374 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module ActiveModel
  module Serializers
    module Xml
      extend ActiveSupport::Concern
      include ActiveModel::Serializable::XML

      Serializer = ActiveModel::Serializable::XML::Serializer

      included do
        ActiveSupport::Deprecation.warn "ActiveModel::Serializers::Xml is deprecated in favor of ActiveModel::Serializable::XML"
      end
    end
  end
end
Something went wrong with that request. Please try again.