Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (6 sloc) 0.274 kb
<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>
Jump to Line
Something went wrong with that request. Please try again.