Sha256: f73d6c5b8f8e0f9edf0638b01dd102dd319df15084208b40da4dd9a7f696b406

Contents?: true

Size: 124 Bytes

Versions: 20

Compression:

Stored size: 124 Bytes

Contents

class Seat < ActiveRecord::Base
  self.primary_keys = [:flight_number, :seat]

  validates_uniqueness_of :customer
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
composite_primary_keys-12.0.2 test/fixtures/seat.rb
composite_primary_keys-11.3.1 test/fixtures/seat.rb
composite_primary_keys-8.1.8 test/fixtures/seat.rb
composite_primary_keys-12.0.1 test/fixtures/seat.rb
composite_primary_keys-12.0.0 test/fixtures/seat.rb
composite_primary_keys-12.0.0.rc5 test/fixtures/seat.rb
composite_primary_keys-12.0.0.rc4 test/fixtures/seat.rb
composite_primary_keys-12.0.0.rc3 test/fixtures/seat.rb
composite_primary_keys-12.0.0.rc2 test/fixtures/seat.rb
composite_primary_keys-12.0.0.rc1 test/fixtures/seat.rb
composite_primary_keys-8.1.7 test/fixtures/seat.rb
composite_primary_keys-11.2.0 test/fixtures/seat.rb
composite_primary_keys-11.1.0 test/fixtures/seat.rb
composite_primary_keys-11.0.3 test/fixtures/seat.rb
composite_primary_keys-11.0.2 test/fixtures/seat.rb
composite_primary_keys-10.0.5 test/fixtures/seat.rb
composite_primary_keys-9.0.10 test/fixtures/seat.rb
composite_primary_keys-11.0.1 test/fixtures/seat.rb
composite_primary_keys-11.0.0 test/fixtures/seat.rb
composite_primary_keys-10.0.4 test/fixtures/seat.rb