Sha256: d792e67a2335a9a419467297d2409e4f64c5c20b65fcc386554ecddd3d961c78

Contents?: true

Size: 153 Bytes

Versions: 13

Compression:

Stored size: 153 Bytes

Contents

class Comment
  include Mongoid::Document

  embedded_in :article, inverse_of: :comments, polymorphic: true
  belongs_to :user, inverse_of: :comments
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
mongoid-spec-4.0.1 spec/models/comment.rb
mongoid-rspec-3.0.0 spec/models/comment.rb
mongoid-rspec-2.2.0 spec/models/comment.rb
mongoid-rspec-2.1.0 spec/models/comment.rb
mongoid-rspec-1.13.0 spec/models/comment.rb
mongoid-rspec-2.0.0 spec/models/comment.rb
mongoid-rspec-2.0.0.rc1 spec/models/comment.rb
glebtv-mongoid-rspec-3.0.0 spec/models/comment.rb
mongoid4-rspec-1.11.0 spec/models/comment.rb
glebtv-mongoid-rspec-1.12.0 spec/models/comment.rb
mongoid-rspec-1.11.0 spec/models/comment.rb
mongoid-rspec-1.10.0 spec/models/comment.rb
mongoid-rspec-1.9.0 spec/models/comment.rb