bcardarella/client_side_validations — pull request #209 by jwkpiano1 (2011-10-27 19:22:46+00:00)
Title: only_integer check needs to match rails's only_integer check as shown here

```ruby
def parse_raw_value_as_an_integer(raw_value)
raw_value.to_i if raw_value.to_s =~ /\A[+-]?\d+\Z/
end
```