Comments and changes to this ticket
-
Dan Kubb (dkubb) February 1st, 2010 @ 04:33 PM
- Milestone changed from 0.10.2 to 1.0.0
-
-
Dan Kubb (dkubb) May 26th, 2010 @ 02:16 AM
- Milestone set to 1.0.0
- Assigned user set to Dan Kubb (dkubb)
-
Dan Kubb (dkubb) May 28th, 2010 @ 02:34 AM
- State changed from unconfirmed to confirmed
I can confirm this. The reason for this is that there is no equivalent validation in dm-validations for this case. With validates_presence_of an error is raised only if #blank? returns true. In this case we want to ensure the value does not return true for #nil?
For now I am going to add a custom validator that performs this check for now, because there has never been a request for this specific behaviour before.
-
Dan Kubb (dkubb) June 2nd, 2010 @ 02:16 PM
- Milestone cleared.
- Assigned user cleared.
Pushing this to after the 1.0 release since it isn't something that will change the public API.
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 »