Module: Shrine::Plugins::RemoveInvalid::AttacherMethods

Defined in:
lib/shrine/plugins/remove_invalid.rb

Instance Method Summary collapse

Instance Method Details

#validateObject


12
13
14
15
16
# File 'lib/shrine/plugins/remove_invalid.rb', line 12

def validate(*)
  super
ensure
  deassign if errors.any?
end