Im using DataMapper in my Sinatra application.I defined a property called 'to' whose minimum length i want to be 10
property :to,String,:required => true,:min => 10
This causes my application to crash with the error
assert_valid_options': options :min are unknown (ArgumentError)
Am i specifying the min length in the right way ?
Thank You