Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 350 Bytes
<snippet>
<content><![CDATA[validates_acceptance_of :${1:terms}${2:${3:, accept: "${4:1}"}${5:, message: "${6:You must accept the terms of service}"}}, if: proc { |obj| ${7:obj.condition?} }}]]></content>
<tabTrigger>vaoif</tabTrigger>
<scope>source.ruby.rails</scope>
<description>validates_acceptance_of if</description>
</snippet>