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-5.0.5 test/fixtures/seat.rb
composite_primary_keys-5.0.4 test/fixtures/seat.rb
composite_primary_keys-5.0.2 test/fixtures/seat.rb
composite_primary_keys-5.0.1 test/fixtures/seat.rb
composite_primary_keys-5.0.0 test/fixtures/seat.rb