Hi,
I was wondering if someone wouldn't mind looking at ticket 6953 and committing it if everything looks ok:
http://dev.rubyonrails.org/ticket/6953
This patch properly handles setting the Allow header and the proper status code when an HTTP method is used that a resource doesn't support or understand.