Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 160 Bytes
class Phone
include Mongoid::Document
field :number
if Mongoid::VERSION < '3'
key :number
end
embeds_one :country_code
embedded_in :person
end
Something went wrong with that request. Please try again.