This project is archived and is in readonly mode.
validates_numericality_of doesn't honor :allow_nil option (but does :allow_blank)
Reported by Erik Dungan | April 13th, 2011 @ 08:11 PM
In the documentation for the validates_numericality_of validation method, it lists a :allow_nil option. In my Rails 3.0.5 app my model will still not validate if this is set to true.
I tried it with :allow_blank => true and this seems to work. Perhaps the documentation should be updated to reflect this. (I can submit an update but I'm not sure how to do this)
Comments and changes to this ticket
-
laptopbatteries April 16th, 2011 @ 03:01 AM
rolex watches are very common in our Audemars Piguet Replicas lifes, there are quite several well known wrist watches brands, the majority Gucci Replicas of them are Swiss bands, Panerai Replicas ,and it is Omega Replicas unlikely, unless the replica watches 's owner is filthy rich and equally careless replica breitling with his, Even the highest quality, Some replica omega are believed to be to acquire luxury wrist that are Replica Concord founded of gold or platinum or other high priced materials. placing on these wrist fake rolex certainly will make us stand out from other Swiss Replica Watch people.Does everyone can afford these genuine, replica tag heuer Taking your or replica watch ? When should expensive replica watch uk , before you take your precious?
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>