aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/subscription.rb
blob: bcac4738a3770ebc9190aff6df9d2a90d87ee578 (plain) (blame)
1
2
3
4
class Subscription < ActiveRecord::Base
  belongs_to :subscriber, :counter_cache => :books_count
  belongs_to :book
end