Please sign in to comment.
allow the :converter Proc form composed_of to return nil
This makes it possible to filter invalid input values before they are passed into the value-object (like empty strings). This behaviour is only relevant if the :allow_nil options is set to true. Otherwise you will get the resulting NoMethodError.
- Loading branch information...
Showing with 31 additions and 7 deletions.