Sha256: 217ad733d207ef108acbb4a4a330915a7f7e97e74ed50c1ffdad0a3bc0b63a7a

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

class Post < 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/post.rb