Module: AttrFilters::ActiveModel::Macro

Defined in:
lib/attr_filters/active_model.rb

Instance Method Summary collapse

Instance Method Details

#initObject



17
18
19
# File 'lib/attr_filters/active_model.rb', line 17

def init
  before_validation :filter! if respond_to?(:before_validation)
end