Sha256: 94f0fbb9c084976f5041f55f35b0b369ff1294e58075ed296ae125ffa90857b5
Contents?: true
Size: 345 Bytes
Versions: 6
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true class AbstractDoubloon < ActiveRecord::Base # This has functionality that might be shared by multiple classes. self.abstract_class = true belongs_to :pirate end class Doubloon < AbstractDoubloon # This uses an abstract class that defines attributes and associations. self.table_name = "doubloons" end
Version data entries
6 entries across 6 versions & 2 rubygems