presence validation not taking into account falsy values
bjrmatos opened this issue · comments
if you have an object like this:
params = {
foo: 0,
bar: false,
baz: ''
};
the presence validation fails
Great catch!
Your PR is looking really good.