workaround different behavior of ActiveResource 3.0