end
end
- if changeset.has_valid_bbox?
+ if changeset.bbox_valid?
bbox = changeset.bbox.to_unscaled
# See http://georss.org/Encodings#Geometry
lower_corner = "#{bbox.min_lat} #{bbox.min_lon}"
upper_corner = "#{bbox.max_lat} #{bbox.max_lon}"
- feed.georss :box, lower_corner + " " + upper_corner
+ feed.georss :box, "#{lower_corner} #{upper_corner}"
end
end
end