I\'m trying to create a little app with Sinatra and ActiveRecord (3.2.3).
This is how my main file looks like:
require \"sinatra\" require \"sinatra/
You need to add a middleware to your stack. Just add this line to your config.ru rack up file:
use ActiveRecord::ConnectionAdapters::ConnectionManagement
Found the answer here: https://github.com/puma/puma/issues/59