aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/subscription.rb
blob: d1d5d21621aeda6729b4aa847838c7bd903a2b4d (plain) (blame)
1
2
3
4
5
6
# frozen_string_literal: true

class Subscription < ActiveRecord::Base
  belongs_to :subscriber, counter_cache: :books_count
  belongs_to :book
end