lib/earth/air/flight_segment.rb in earth-0.6.1 vs lib/earth/air/flight_segment.rb in earth-0.6.2
- old
+ new
@@ -73,8 +73,8 @@
# Derive average seats per flight
update_all 'seats_per_flight = seats / flights', 'flights > 0'
# Add a useful date field
- update_all 'approximate_date = DATE(year || "-" || month || "-" || "14")', 'month IS NOT NULL'
+ update_all %{approximate_date = DATE(year || '-' || month || '-' || '14')}, 'month IS NOT NULL'
end
end
\ No newline at end of file