Module: NoBrainer::Document::Validation::NotNull::ClassMethods
- Defined in:
- lib/no_brainer/document/validation/not_null.rb
Instance Method Summary collapse
Instance Method Details
#validates_not_null(*attr_names) ⇒ Object
5 6 7 |
# File 'lib/no_brainer/document/validation/not_null.rb', line 5 def validates_not_null(*attr_names) validates_with(NotNullValidator, _merge_attributes(attr_names)) end |