Sha256: 5432a47eab0a666723fa4c5f125374d1142b4dd33626386aa054125edf8dbc22

Contents?: true

Size: 137 Bytes

Versions: 7

Compression:

Stored size: 137 Bytes

Contents

# frozen_string_literal: true

class Deck < ActiveRecord::Base
  has_many :cards
  def self.polymorphic_name
    "PlayingCard"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
activerecord-import-2.0.0 test/models/deck.rb
activerecord-import-1.8.1 test/models/deck.rb
activerecord-import-1.8.0 test/models/deck.rb
activerecord-import-1.6.0 test/models/deck.rb
activerecord-import-1.5.1 test/models/deck.rb
activerecord-import-1.5.0 test/models/deck.rb
activerecord-import-1.4.1 test/models/deck.rb