fixed invocation of #respond_to? from within jail