aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/subscription.rb
blob: 1cedf6deaedcdacc2ab7fcf28bec143c4ef0b2e3 (plain) (tree)
1
2
3
4
                                       
                                                     

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