Rails always comes up with some and creative new features, and Rails 4 is no exception. One of the new features in Rails 4 is Strong Parameters. The basic idea behind Strong Parameters is to move mass-assignment protection out of the model…
Continue Reading… Urls, Uniform Resource Locator, are fundamental to the web. These are the addresses that are used for finding web pages or, more specifically, ‘resources’ as they don’t actually need to be web pages, they can be anything from images, files or even…
Continue Reading… Asynchronously Adding and Deleting Resources in Sinatra In part one of this tutorial we went through how to add and delete robots into a database. In this tutorial I’m going to show how you can leverage the XMLHttpRequest to perform actions in…
Continue Reading… Adding and Deleting Resources in Sinatra In this tutorial I’m going to go through how to use Sinatra to add and remove resources to and from a database. To demonstrate this, I’m going to build a tiny web app called The Robot…
Continue Reading… Welcome to the last part of this series. The aim of this series of tutorials has been to take somebody who has never used Sinatra from creating an app to deploying it. You can find the other parts of the series at…
Continue Reading… In Part 2 of this tutorial, we used DataMapper to save tasks to a database back end and created a web front end that used Sinatra to show, add, delete and complete tasks. In this tutorial we will make it look a…
Continue Reading… 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…
Continue Reading… Up to this point in the Rails Deep Dive series, we’ve focused on digging down into the entrails of the framework, attempting to uncover some of the ways that Rails accomplishes its magic. Going forward, I want to create a Rails 3.1…
Continue Reading… In this tutorial, I’m going to show you just how quick and easy it easy to use Sinatra to create a simple To Do list app.
Continue Reading… Continuing with his Code Safari series, Xavier Shay unravels the eight sublimely obfuscated lines of code which make up the pico-framework that is Almost Sinatra
Continue Reading…