Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 334 Bytes
<snippet>
<content><![CDATA[validates_length_of :${1:attribute}, within: ${2:3..20}${3:, on: :${4:create}, message: "${5:must be present}"}, if: proc { |obj| ${6:obj.condition?} }}]]></content>
<tabTrigger>vlif</tabTrigger>
<scope>source.ruby.rails</scope>
<description>validates_length_of if</description>
</snippet>