Sha256: 17f0d94b3be3dae3389e2a61c283f2dd13e9ef07a1d7bfdd4326f3535fa01fc1

Contents?: true

Size: 466 Bytes

Versions: 9

Compression:

Stored size: 466 Bytes

Contents

class FlightDistanceClassSeatClass < ActiveRecord::Base
  self.primary_key = "name"
  
  belongs_to :seat_class, :class_name => 'FlightSeatClass', :foreign_key => 'seat_class_name'
  belongs_to :distance_class, :class_name => 'FlightDistanceClass', :foreign_key => 'distance_class_name'
  
  falls_back_on :name => 'fallback',
                :multiplier => 1.0
  
  col :name
  col :distance_class_name
  col :seat_class_name
  col :multiplier, :type => :float
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
earth-0.11.20 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.11.19 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.11.18 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.11.17 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.11.16 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.11.15 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.11.14 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.11.13 lib/earth/air/flight_distance_class_seat_class.rb
earth-0.11.12 lib/earth/air/flight_distance_class_seat_class.rb