debian-mirror-gitlab/elasticsearch-rails/elasticsearch-model/spec/support/app/authorship.rb
2021-03-05 16:19:46 +05:30

4 lines
95 B
Ruby

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