Sha256: f89da55c4101b1c5a87cacdc8c3747ea41cfbce65d2e45d88a38f4f92c8120f8

Contents?: true

Size: 212 Bytes

Versions: 6

Compression:

Stored size: 212 Bytes

Contents

# 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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/models/subscriber.rb
ibm_db-5.4.1 test/models/subscriber.rb
ibm_db-5.4.0 test/models/subscriber.rb
ibm_db-5.3.2 test/models/subscriber.rb
ibm_db-5.3.1 test/models/subscriber.rb
ruby-on-quails-0.1.0 activerecord/test/models/subscriber.rb