Some of you may have noticed that I haven’t written so much on RubySource lately. The reason for this is that all of my time has been taken up writing a brand new book all about Sinatra! A few months ago, the…
Continue Reading… In the last article, we managed to build an app that allowed users to show off their HTML, CSS and JavaScript skills by creating ‘riddles’ – small snippets of HTML, CSS and JavaScript. As an added bonus it also allowed users to…
Continue Reading… In my article Ruboto: Ruby’s and Android’s First Born, I covered one way to use Ruby for mobile app development. In that article, we created a native Android app in JRuby that could run on Android’s Java Virtual Machine. This time, we will dip…
Continue Reading… JSFiddle is a site that’s been around for a while now. It allows you to create a ‘fiddle’ which is basically a self contained page of HTML, CSS and JavaScript. These can be used to show off a particular technique or bug…
Continue Reading… The flash is a handy little helper method in Rails that lets you store information between requests. When your application processes a request, it usually ends by redirecting to another url, which generates another request. The flash is a hash-like object that…
Continue Reading… A couple of months ago, I wrote an article about how I rapidly built my personal site using Sinatra. While I was building the site I started thinking about the best way to add JavaScript files to the pages. After playing with…
Continue Reading… 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… 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… 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…