Sha256: 386d320ffe6a1b3f68425d086eeb4d7717f446e1da81d1001f7bb509a9021689
Contents?: true
Size: 244 Bytes
Versions: 2
Compression:
Stored size: 244 Bytes
Contents
class Profile include Mongoid::Document field :avatar, type: String field :homepage, type: String field :created_at, type: DateTime field :updated_at, type: DateTime embedded_in :user, class_name: 'User', inverse_of: :profile end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_api-1.0.1 | spec/mongoid_dummy/app/models/profile.rb |
acts_as_api-1.0.0 | spec/mongoid_dummy/app/models/profile.rb |