Running A Sinatra Console

PUBLISHED ON FEB 25, 2014 — IMPORTED FROM TUMBLR, LINK

mikeebert:

For the past couple of months I’ve been searching for (and bemoaning the lack of) a proper ‘console’ command in Sinatra to access my data. Rails has its aptly named rails console command that allows you to quickly see things like User.all or User.last—but despite my best Googling, I’d found no…



[goto](http://mikeebert.tumblr.com/post/29941784481/running-a-sinatra-console)