Sha256: 971296325144341399e05e47de08a431167f14014b8f9f818a5bab7f0f5558af

Contents?: true

Size: 197 Bytes

Versions: 4

Compression:

Stored size: 197 Bytes

Contents

module Mongoid
  class Like
    include Mongoid::Document

    field :like_type
    field :like_id

    belongs_to :liker, :polymorphic => true
    belongs_to :liked, :polymorphic => true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mongoid_likes-0.1.1 app/models/mongoid_likes/like.rb
mongoid_likes-0.1.0 app/models/mongoid_likes/like.rb
mongoid_likes-0.0.2 app/models/mongoid_likes/like.rb
mongoid_likes-0.0.1 app/models/mongoid_likes/like.rb