Add a patch attribute to the ruby resource.