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

Version Path
ibm_db-5.2.0-x86-mingw32 test/models/doubloon.rb
ibm_db-5.1.0-x86-mingw32 test/models/doubloon.rb
ibm_db-5.0.5-x86-mingw32 test/models/doubloon.rb
ibm_db-5.0.4-x86-mingw32 test/models/doubloon.rb
ibm_db-5.0.3-x86-mingw32 test/models/doubloon.rb
ibm_db-5.0.2-x86-mingw32 test/models/doubloon.rb
ibm_db-3.0.5-x86-mingw32 test/models/doubloon.rb
ibm_db-3.0.5 test/models/doubloon.rb