rails/activeresource — pull request #27 by geoffgarside (2012-05-05 11:13:32+00:00)
Title: ActiveResource::Base.build and :delete should send headers with requests

The ActiveResource::Base.build and :delete methods currently don't send the custom headers with their HTTP requests. This is required when ARes is interacting with a REST API which uses HTTP header authentication instead of HTTP basic authentication.

This is a duplication of rails/rails#3132 as requested but extended with support for :delete in addition to :build.