debian-mirror-gitlab/elasticsearch-model/spec/support/app/authorship.rb
2020-03-13 15:44:24 +05:30

4 lines
95 B
Ruby

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