module Form::Mongoid::ClassMethods
Public Instance Methods
i18n_scope()
click to toggle source
# File lib/reform/form/mongoid.rb, line 18 def i18n_scope :mongoid end
validates_uniqueness_of(attribute, options={})
click to toggle source
# File lib/reform/form/mongoid.rb, line 14 def validates_uniqueness_of(attribute, options={}) options = options.merge(:attributes => [attribute]) validates_with(UniquenessValidator, options) end