Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 274 Bytes
<snippet>
<content><![CDATA[has_one :${1:object}${2:, class_name: "${3:${1/[[:alpha:]]+|(_)/(?1::\u$0)/g}}", foreign_key: "${4:${1}_id}"}]]></content>
<tabTrigger>ho</tabTrigger>
<scope>source.ruby.rails</scope>
<description>has_one</description>
</snippet>