Sha256: 913ad39bcd88afb5c5d832583ca5075688883885b4ea8e9fbef6359ccb211d56

Contents?: true

Size: 119 Bytes

Versions: 65

Compression:

Stored size: 119 Bytes

Contents

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

  validates_uniqueness_of :customer
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
composite_primary_keys-9.0.9 test/fixtures/seat.rb
composite_primary_keys-11.0.0.rc2 test/fixtures/seat.rb
composite_primary_keys-10.0.3 test/fixtures/seat.rb
composite_primary_keys-11.0.0.rc1 test/fixtures/seat.rb
composite_primary_keys-11.0.0.beta4 test/fixtures/seat.rb
composite_primary_keys-11.0.0.beta3 test/fixtures/seat.rb
composite_primary_keys-11.0.0.beta2 test/fixtures/seat.rb
composite_primary_keys-11.0.0.beta1 test/fixtures/seat.rb
composite_primary_keys-10.0.2 test/fixtures/seat.rb
composite_primary_keys-10.0.1 test/fixtures/seat.rb
composite_primary_keys-9.0.8 test/fixtures/seat.rb
composite_primary_keys-10.0.0 test/fixtures/seat.rb
composite_primary_keys-9.0.7 test/fixtures/seat.rb
composite_primary_keys-8.1.6 test/fixtures/seat.rb
composite_primary_keys-9.0.6 test/fixtures/seat.rb
composite_primary_keys-9.0.5 test/fixtures/seat.rb
composite_primary_keys-8.1.5 test/fixtures/seat.rb
composite_primary_keys-9.0.4 test/fixtures/seat.rb
composite_primary_keys-9.0.2 test/fixtures/seat.rb
composite_primary_keys-9.0.1 test/fixtures/seat.rb