Sha256: 6d0a880ff58997131c621673e6ad2cc4c82c8684ea80ccf6dbbd04356efa8cd4
Contents?: true
Size: 371 Bytes
Versions: 5
Compression:
Stored size: 371 Bytes
Contents
class SpaceShuttle < SpaceShip attr_accessible :single_use unless Rails::VERSION::MAJOR > 3 belongs_to :upgraded_from, :class_name => 'SpaceShip' # cti_derived_class has to come after te above belongs_to, otherwise the association will not work correctly. # This is only because SpaceShuttle is a leaf class (i.e. had no descendants). cti_derived_class end
Version data entries
5 entries across 5 versions & 1 rubygems