ripienaar/gdash

gdash should require 'sinatra/base' not 'sinatra'

jashmenn opened this issue · 1 comments

gdash.rb should require 'sinatra/base' not sinatra otherwise you get the sinatra DSL imported into Object. From the sinatra documentation:

Your file should require sinatra/base instead of sinatra; otherwise, all of Sinatra's DSL methods are imported into the main namespace.

See: http://www.sinatrarb.com/intro

Sorry, I'll change this to a pull request.