In part one of this tutorial, we set Sinatra up and displayed some pages. Now the fun really starts – we will be using a database to store our tasks in. In this tutorial we will be using SQLite for the local database.
DAZ is the author of Jump Start Sinatra, a short book that helps you to get up to speed with Sinatra over a weekend. He's been using Sinatra since 2009 and used it to build the Cards In The Cloud website. DAZ lives in Manchester, UK where he teaches maths and plays water polo.