Class: InProgressForm::CleanUUID

Inherits:
ActiveRecord::Type::String
  • Object
show all
Defined in:
app/models/in_progress_form.rb

Instance Method Summary collapse

Instance Method Details

#cast(value) ⇒ Object Also known as: serialize



9
10
11
# File 'app/models/in_progress_form.rb', line 9

def cast(value)
  super(value.to_s.delete('-'))
end