Sha256: 88acc7fb86ffd34a7a2396244037600957470e02e875c2b1d772e492f725c172

Contents?: true

Size: 222 Bytes

Versions: 4

Compression:

Stored size: 222 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

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/models/subscriber.rb
ibm_db-5.4.1-x86-mingw32 test/models/subscriber.rb
ibm_db-5.4.0-x86-mingw32 test/models/subscriber.rb
ibm_db-5.3.2-x86-mingw32 test/models/subscriber.rb