debian-mirror-gitlab/elasticsearch-model/spec/support/app/authorship.rb
2020-03-09 13:42:32 +05:30

4 lines
95 B
Ruby

class Authorship < ActiveRecord::Base
belongs_to :author
belongs_to :post, touch: true
end