Sha256: 6f1282fb099f477dc5321a1017ced99f7bc2b34be92bfe7e6c31de136632e983

Contents?: true

Size: 161 Bytes

Versions: 1

Compression:

Stored size: 161 Bytes

Contents

class Person
  include Mongoid::Document

  field :first_name
  field :last_name

  embeds_one :credit_card

  validates_presence_of :first_name, :last_name
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-encryptor-0.0.4 spec/models/person.rb