debian-mirror-gitlab/elasticsearch-rails/elasticsearch-model/spec/support/app/authorship.rb

5 lines
95 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
class Authorship < ActiveRecord::Base
belongs_to :author
belongs_to :post, touch: true
end