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-8.1.4 test/fixtures/seat.rb
composite_primary_keys-9.0.0 test/fixtures/seat.rb
composite_primary_keys-9.0.0.beta1 test/fixtures/seat.rb
composite_primary_keys-8.1.3 test/fixtures/seat.rb
composite_primary_keys-8.1.2 test/fixtures/seat.rb
composite_primary_keys-7.0.16 test/fixtures/seat.rb
composite_primary_keys-7.0.15 test/fixtures/seat.rb
composite_primary_keys-8.1.1 test/fixtures/seat.rb
composite_primary_keys-7.0.14 test/fixtures/seat.rb
composite_primary_keys-8.1.0 test/fixtures/seat.rb
composite_primary_keys-7.0.13 test/fixtures/seat.rb
composite_primary_keys-6.0.8 test/fixtures/seat.rb
composite_primary_keys-8.0.0 test/fixtures/seat.rb
composite_primary_keys-7.0.12 test/fixtures/seat.rb
composite_primary_keys-7.0.11 test/fixtures/seat.rb
composite_primary_keys-6.0.7 test/fixtures/seat.rb
composite_primary_keys-7.0.10 test/fixtures/seat.rb
composite_primary_keys-7.0.9 test/fixtures/seat.rb
composite_primary_keys-7.0.8 test/fixtures/seat.rb
composite_primary_keys-7.0.7 test/fixtures/seat.rb