I testet quite a lot of stuff today with Ruby 2.1.1, everything's fine.
I learned one thing (not Hobo related, but Rails related):
If you have an integer attribute, let's say position and try to validate it
validates :position, numericality: { only_integer: true }
then the test
it {should validate_numericality_of(:position).only_integer}
now fails.
The reason: if the column is of type integer (not decimal) the validation does NOT fail,
because writing to the attribute
@instance.attribute = 3.3
does not raise, but now stores 3 in the attribute (I assume something like 3.3.to_i).
No idea, when this changed (I was sloppy running my tests ...).
If the column is of type decimal, the validations raise and fail as expected.
Again, this is NOT Hobo related, I tested in a Rails only app as well, same behaviour there.
A big THANKS to Ignacio for updating. I keep developing on 2.1.1 and see how it goes.
Ciao,
Stefan