class Sinatra::Base

def indifferent_hash

def indifferent_hash
  Hash.new {|hash,key| hash[key.to_s] if Symbol === key }
end