Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 282 Bytes
<snippet>
<content><![CDATA[validates_associated :${1:attribute}${2:, on: :${3:create}, if: proc { |obj| ${5:obj.condition?} }}]]></content>
<tabTrigger>vaif</tabTrigger>
<scope>source.ruby.rails</scope>
<description>validates_associated if</description>
</snippet>