sportdb/console - Try sport.db w/ Interactive Ruby Console
I’ve added support for the interactive Ruby console (irb) to the open sports database gem. Use irb -r sportdb/console
and you’re ready to go. Try en = Country.find_by_key! 'en'; en.teams.all
or mun = Team.find_by_key! 'manunited'; mun.games.all
and so on. More info. Cheers.
Post a comment