RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

worlddb/console - Try world.db w/ Interactive Ruby Console

I've added support for the interactive Ruby console (irb) to the open world database gem. 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. Live demo. 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!