Sha256: 48bc6c6817ebabd7679413250d7f5e0abc54be95b4c26db4fd948b154113aedc

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

class Comment < ActiveRecord::Base
  attr_accessor :item_id, :is_reblogged, :is_favorited
  belongs_to :user

  def reblog_count
    self.id
  end

  def favorite_count
    self.id
  end

  def comment_count
    self.id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inkwell_timelines-1.0.0 test/dummy/app/models/comment.rb