lib/ohm/validations.rb in ohm-0.0.3 vs lib/ohm/validations.rb in ohm-0.0.4

- old
+ new

@@ -21,10 +21,10 @@ end end def assert_present(att) if assert_not_nil(att) - assert send(att).any?, [att, :empty] + assert !send(att).empty?, [att, :empty] end end def assert_not_nil(att) assert send(att), [att, :nil]