So ActiveResource::Base.include_root_in_json is no longer supported, and 
then I encounter the following within Json Formats:

module ActiveResource
  module Formats
    module JsonFormat
      def decode(json)
        Formats.remove_root(ActiveSupport::JSON.decode(json))
      end
    end
  end
end

If ActiveResource::Base.include_root_in_json felt hacky enough to remove, 
didn't that change above feel even more hacky?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/4co0YL2kiRMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to