lib/gtfs/realtime/vehicle_position.rb in gtfs-realtime-0.3.0 vs lib/gtfs/realtime/vehicle_position.rb in gtfs-realtime-0.4.0
- old
+ new
@@ -3,10 +3,10 @@
module GTFS
class Realtime
class VehiclePosition < GTFS::Realtime::Model
include GTFS::Realtime::Nearby
- many_to_one :stop
- many_to_one :trip
+ belongs_to :stop
+ belongs_to :trip
end
end
end