lib/murlsh/dispatch.rb in murlsh-1.2.0 vs lib/murlsh/dispatch.rb in murlsh-1.2.1
- old
+ new
@@ -33,9 +33,10 @@
ActiveRecord::Base.establish_connection(
:adapter => 'sqlite3', :database => @config.fetch('db_file'))
ActiveRecord::Base.default_timezone = :utc
ActiveRecord::Base.include_root_in_json = false
+ # ActiveRecord::Base.logger = Logger.new(STDERR)
end
# Figure out which method will handle request.
def dispatch(req)
method_match = routes.find do |rule|