Sha256: afdac772339eeb5d6c40524c381b4ab84d346175657e9aedb6ee4eeb9d95b166

Contents?: true

Size: 148 Bytes

Versions: 6

Compression:

Stored size: 148 Bytes

Contents

class Comment
  include Mongoid::Document

  embedded_in :article, :inverse_of => :comments
  belongs_to_related :user, :inverse_of => :comments
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mongoid-rspec-1.1.2 spec/models/comment.rb
mongoid-rspec-1.1.1 spec/models/comment.rb
mongoid-rspec-1.1.0 spec/models/comment.rb
mongoid-rspec-1.0.4 spec/models/comment.rb
mongoid_rspec_ign-1.0.3 spec/models/comment.rb
mongoid-rspec-1.0.3 spec/models/comment.rb