Sinatra: Up and Running was published at the end of last year by O’Reilly Press and is the first book to be written exclusively about Sinatra. It is written by Alan Harris and Konstantin Haase. Konstantin is the current maintainer of Sinatra…
Continue Reading… When I started writing for Rubysource, I soon realized that I needed a website to go with my little bio at the bottom of each article. I’ve bumbled along so far by linking to various sites that I’ve written and my Twitter…
Continue Reading… A couple of weeks ago I wrote about Ruby Heroes. I thought I would write a post about my Ruby Hero – Konstantin Haase. He is one of the busiest people I know in the Ruby community- his output is amazing –…
Continue Reading… Nominations are currently open for the annual Ruby Hero Awards. This is your chance to say “thank you” to somebody who has helped you out or made the Ruby community a better place in the last year. These awards are the brainchild…
Continue Reading… Back in November, I wrote a piece about Ruby Golf. At the end of the article I set a 5 holes as a challenge for readers to have a go at completing using the minumum number of bytes. There was a terrific…
Continue Reading… The Ruby world has been blessed with more than its fair share of frameworks for developing web applications over the years. Recently, though, two of them have emerged as the clear leaders in the field. Most readers of this site will have…
Continue Reading… Ruby golf is the art of writing code that uses as few characters as possible. The idea originates in the world of Perl (where it is, unsurprisingly, known as Perl Golf). As a language, Perl is well suited to this as it…
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…