Skip to content
Newer
Older
100644 17 lines (16 sloc) 643 Bytes
7633910 @lawrencepit added validation_acceptance_of
lawrencepit authored May 22, 2008
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
5 <key>content</key>
df33ea8 @lawrencepit refined validates_acceptance_of
lawrencepit authored May 22, 2008
6 <string>validates_acceptance_of :${1:terms}${2:${3:, :accept =&gt; "${4:1}"}${5:, :message =&gt; "${6:You must accept the terms of service}"}}, :if =&gt; proc { |obj| ${7:obj.condition?} }}</string>
7633910 @lawrencepit added validation_acceptance_of
lawrencepit authored May 22, 2008
7 <key>name</key>
8 <string>validates_acceptance_of if</string>
9 <key>scope</key>
10 <string>source.ruby.rails</string>
11 <key>tabTrigger</key>
12 <string>vaoif</string>
13 <key>uuid</key>
14 <string>A2477223-AD5A-4723-8052-943CE9BA634D</string>
15 </dict>
16 </plist>
Something went wrong with that request. Please try again.