cirandas.net

ref: master

app/models/article_follower.rb


1
2
3
4
5
6
7
class ArticleFollower < ApplicationRecord

  attr_accessible :article_id, :person_id
  belongs_to :article, :counter_cache => :followers_count
  belongs_to :person

end