Notes posted by raven_chen
RSS feed
raven_chen -
October 21, 2010 - (v3.0.0)
0 thanks
Validate number
option like :greater_than still supported
use like this
Code example
validates :position, :presence => true, :numericality => {:greater_than => 0}