Sha256: fa57a5235092adfd88abff0449082897c8bbde3e8695c7b3d632ca8b96a5bda6

Contents?: true

Size: 220 Bytes

Versions: 1

Compression:

Stored size: 220 Bytes

Contents

class Comment < ActiveRecord::Base
  belongs_to :commentable, :polymorphic=>true
  belongs_to :user
  validates_presence_of :comment
  is_voteable
  is_commentable
  is_rateable

  include SocialEngine::Helpers::User
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_engine-0.0.1 app/models/comment.rb