Sha256: 7bf7a2f6d40befa4fb5141de13ea66fcc098a655e79b901b96a9f7c1b91c4bb4
Contents?: true
Size: 570 Bytes
Versions: 3
Compression:
Stored size: 570 Bytes
Contents
class SpaceShip < Vehicle attr_accessible :single_use, :reliability unless Rails::VERSION::MAJOR > 3 cti_derived_class belongs_to :category has_many :launches accepts_nested_attributes_for :launches has_one :captain accepts_nested_attributes_for :captain has_and_belongs_to_many :astronauts, :join_table => 'astronauts_space_ships' accepts_nested_attributes_for :astronauts has_many :experiment_space_ship_performances has_many :experiments, :through => :experiment_space_ship_performances accepts_nested_attributes_for :experiments end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dbview_cti-0.1.4 | spec/dummy-rails-3/app/models/space_ship.rb |
dbview_cti-0.1.3 | spec/dummy-rails-3/app/models/space_ship.rb |
dbview_cti-0.1.2 | spec/dummy-rails-3/app/models/space_ship.rb |