# -*- mode: snippet -*-
# key: ho
# contributor: Translated from TextMate Snippet
# name: has_one
## condition: "source.ruby.rails"
# --
has_one :${1:object}${2:, :class_name => "${3:${1/[[:alpha:]]+|(_)/(?1::\u$0)/g}}", :foreign_key => "${4:${1}_id}"}