Add rails support for PUT