aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-05-12 12:34:04 +0200
committerTeddy Wing2017-05-12 17:56:27 +0200
commit2b7c72e6ac639a8098a99295f5681f44a84859e1 (patch)
tree55617c44684f5307741b4e50d2a75a5ebc592145
parent5ee1bd5730e65575f1a7ea179565231b15ecff39 (diff)
downloadchouette-core-2b7c72e6ac639a8098a99295f5681f44a84859e1.tar.bz2
VehicleJourney.with_stops: Fix SQL style
Match the style from the `joins` call above, quoting the table and column name, for consistency.
-rw-r--r--app/models/chouette/vehicle_journey.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/chouette/vehicle_journey.rb b/app/models/chouette/vehicle_journey.rb
index c25978ab1..39dcafdeb 100644
--- a/app/models/chouette/vehicle_journey.rb
+++ b/app/models/chouette/vehicle_journey.rb
@@ -217,7 +217,7 @@ module Chouette
AND "vehicle_journey_at_stops"."stop_point_id" =
"journey_patterns"."departure_stop_point_id"
')
- .order("vehicle_journey_at_stops.departure_time")
+ .order('"vehicle_journey_at_stops"."departure_time"')
end
end