rating/spec/support/models/article.rb

8 lines
126 B
Ruby
Raw Permalink Normal View History

2017-10-30 01:44:23 +00:00
# frozen_string_literal: true
class Article < ::ActiveRecord::Base
2018-02-08 22:44:39 +00:00
rating scoping: :categories
has_many :categories
2017-10-30 01:44:23 +00:00
end