Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3b74b5fcd5
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (16 sloc) 0.566 kb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>belongs_to :${1:object}${2:, :class_name =&gt; "${3:${1/[[:alpha:]]+|(_)/(?1::\u$0)/g}}", :foreign_key =&gt; "${4:${1}_id}"}</string>
<key>name</key>
<string>belongs_to</string>
<key>scope</key>
<string>meta.rails.model</string>
<key>tabTrigger</key>
<string>bt</string>
<key>uuid</key>
<string>B8F08BD7-6160-482C-8A3D-CBC6BD2079A4</string>
</dict>
</plist>
Jump to Line
Something went wrong with that request. Please try again.