rails/rails — pull request #7479 by eriko (2012-08-29 20:15:33+00:00)
Title: the example for contraint( :ip => XXXX) has an invalid regex

escape the '.'s