Sha256: 49e6f950c045acd8da3d61d2c908e1b25e99c6cae8de4c921bf1a75fd8b8a0bf
Contents?: true
Size: 326 Bytes
Versions: 8
Compression:
Stored size: 326 Bytes
Contents
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
8 entries across 8 versions & 1 rubygems