James Wilding's Weblog

Month: August, 2009

Clone TinyURL (and friends) with Rails

tr.im is closing down, and the blogs are a-chatter about why URL-shortening services are probably a bad idea if you care about your links, and why you should roll your own service if you can.

Which is where Rails comes in.

(more…)

Surrounded by Hares

Those who know me well will understand that the following quote was bound to catch my eye:

I want to live in the sticks, surrounded by hares.

Hmm, interesting…

(more…)

iPhone on Rails

It’s really simple to get a Rails application to serve custom views to an iPhone or iPod touch: so simple, in fact, that in a spare half-an-hour I wrapped the necessary code up into a tiny plugin, which will do all the work for you!

Update: if you’re using the plugin, have questions, or have found this post useful, take a moment to send me a message on Github, or email me (james at this domain). It’s always great to know how people are using my work :)

(more…)

Bowline: Desktop Apps with Ruby

Bowline is a Ruby GUI framework that allows you to build desktop applications using Ruby, HTML, CSS, and JQuery. Sounds interesting? I thought so too!

(more…)

Speeding Up Your Shell

I really should download a copy of PeepCode’s advanced command line tutorial, but I’m a bit of a cheapskate so I just scanned the screenshots instead! They reminded me of how it’s possible to set aliases for your UNIX shell.

(more…)

Rails 3

Well, I’ve been away from WordPress for a while thanks to flu (swine? maybe), and I thought a good way to break the silence would be with a post on the upcoming release of Rails: version 3.

(more…)