RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

sportdb gem Adds Grounds (Stadiums/Venues) for Games (Matches) n Events (Tournaments)

Hello, The sportdb gem (and its open public domain datasets such as football.db) now includes a new grounds table (for stadiums/venues/etc.) that lets you add cities to matches or tournaments, for example. Using the World Cup event in Brazil 2014 you can get all twelve stadiums by using: event.ground.count # => 12 or to get the city for a game use: # => São Paulo and so on. See the World Cup 2014 fixtures, for an example for plain text fixtures with stadiums included. Or see the stadiums page in “The Free World Football Alamanc”. More info at the project site. Cheers.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in