app/models/export/gtfs.rb
def parent_station
        return unless parent_id

        parent_stop_id = index&.stop_id(parent_id)
        Rails.logger.warn "Can't find parent stop_id in index for StopArea #{stop_id}" unless parent_stop_id
        parent_stop_id
      end
# index is optional to make tests easier
index is optional to make tests easier
index is optional to make tests easier
def parent_station
        return unless parent_id
        parent_stop_id = index&.stop_id(parent_id)
        Rails.logger.warn "Can't find parent stop_id in index for StopArea #{stop_id}" unless parent_stop_id
        parent_stop_id
      end
def parent_station return unless parent_id parent_stop_id = index &. stop_id ( parent_id ) Rails . logger . warn "Can't find parent stop_id in index for StopArea #{stop_id}" unless parent_stop_id parent_stop_id end
index is optional to make tests easier
index is optional to make tests easier