You can specify a :from
parameter to #find
:
class Parent < ActiveResource::Base
# ...
def children
Child.find(:all, from: URI(super).path)
end
end
However: it only allows you to change the path, not the complete URL. If the host part of the resource's URL might change, you have to change the resource's site
also.