
Range auto-validation should work with nullable => true
Reported by Yaroslaff Fedin | April 13th, 2008 @ 02:29 PM
This:
`property :description, String, :size => 5..100, :nullable => true`
doesnt work as expected. Nullable => true should allow to have a nil as a value, but range invalidates the record, since nil is not whthing range.
Comments and changes to this ticket
-
Dan Kubb (dkubb) April 15th, 2008 @ 03:06 AM
- Milestone cleared.
-
Yaroslaff Fedin April 15th, 2008 @ 09:58 AM
I'm going to ask you to re-set milestone to 0.9, since it's autovalidations issue.
-
-
Dan Kubb (dkubb) April 15th, 2008 @ 10:36 AM
- Milestone cleared.
-
Guy van den Berg (guyvdb) April 15th, 2008 @ 01:30 PM
- Assigned user set to Guy van den Berg (guyvdb)
-
Guy van den Berg (guyvdb) April 15th, 2008 @ 01:40 PM
- State changed from new to open
-
Guy van den Berg (guyvdb) April 16th, 2008 @ 12:29 AM
- State changed from open to resolved
Fixed and speced
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »