RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

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'; and so on. More info. Cheers.


Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!