Hello,
I've added support for the interactive Ruby console (irb) to the
open world database gem [1]. Use
irb -r worlddb/console
and you're ready to go.
Try
en = Country.find_by_key! 'en'
en.regions
en.cities
or
euro = Tag.find_by_key! 'euro'
euro.countries
and so on.
More info -> https://github.com/geraldb/world.db
Live demo -> http://worlddb.herokuapp.com/tags
Cheers.
[1] https://github.com/geraldb/world.db/blob/master/script/lib/worlddb/console.rb