This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It surprises me that this is not an existing TextMate snippet. Regardless, it would be useful to have a "vn" template which simply defined as: validates_numericality_of :${1 default="attribute"}