Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (6 sloc) 0.317 kb
<snippet>
<content><![CDATA[validates_presence_of :${1:attribute}${2:, on: :${3:create}, message: "${4:can't be blank}"}, if: proc { |obj| ${5:obj.condition?} }}]]></content>
<tabTrigger>vpif</tabTrigger>
<scope>source.ruby.rails</scope>
<description>validates_presence_of if</description>
</snippet>
Jump to Line
Something went wrong with that request. Please try again.