thoughtbot/shoulda-matchers — pull request #84 by tmattia (2012-03-23 19:49:07+00:00)
Title: Add only_integer option to ValidateNumericalityOfMatcher 

See: https://github.com/thoughtbot/shoulda-matchers/issues/30#issuecomment-4659566