blob: 8ef679486dc0ee9ec8b182f8a8cbbbf195e3158b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
class Subscriber < ActiveRecord::Base
self.primary_key = "nick"
has_many :subscriptions
has_many :books, through: :subscriptions
end
class SpecialSubscriber < Subscriber
end
|