lib/models/trip_leg.rb in fossil-0.5.34 vs lib/models/trip_leg.rb in fossil-0.5.35
- old
+ new
@@ -6,11 +6,9 @@
many_to_one :aircraft, :class=>:Aircraft, :key=>:'aircraft id', :primary_key=>:'aircraft id'
many_to_one :aircraft_type, :class=>:AircraftType, :key=>:'aircraft type id', :primary_key=>:'aircraft type id'
many_to_one :locked_by, :class=>:User, :key=>:'locked by - user id', :primary_key=>:'users initials'
many_to_one :leg_rate_aircraft, :class=>:Aircraft, :key=>:'leg rate ac id', :primary_key=>:'aircraft id'
many_to_one :authorizer_name, :class=>:Personnel, :key=>:authorization, :primary_key=>:employee_id
- many_to_one :departure_fuel_vendor, :class=>:Vendor, :key=>:dep_fuel_vendor, :primary_key=>:vendor_id
- many_to_one :arrival_fuel_vendor, :class=>:Vendor, :key=>:arr_fuel_vendor, :primary_key=>:vendor_id
# Many to one associations with composite primary keys
n_to_o :trip, :class=>:Trip, :prefix=>'trips'
n_to_o :arrival_airport_fuel, :class => :AirportFuel, :prefix => 'arr fuel'
n_to_o :departure_airport_fuel, :class => :AirportFuel, :prefix => 'dep fuel'
\ No newline at end of file