Yeah, that's what I've finally done :D https://github.com/planas/shoulda-matchers/commit/1947dee1ba63c5781f3934543a400e2fc0d688be