# File lib/happymapper.rb, line 56 def has_one(name, type, options={}) element name, type, {:single => true}.merge(options) end