Dedicated to my late brave, beautiful and silly mummy, Debra Ross. I love you mumster.

Skip navigation

Rails pollutes Ruby search results!

ASIDE: Within five minutes of this post going live I received a message from Vannesa Choi in Taiwan saying that I can filter out a lot of Rails related results by specifying eRuby specifically instead. I still get lots of Rails results, but certainly much less than before. Xie Xie :)

I’ve been learning Ruby for a while now and have started moving from Perl to it in recent months as my primary tool for solving most of my day to day problems (alas, just with computers, real life is the next step!). With all I’ve picked up I’ve now decided to use Ruby in web development and replace my PHP powered sites other people have coded over to an eRuby FastCGI powered site I code myself (I got part of the way through a similar project a few months back, but life got in the way again and stalled it!). What was the quote that Google put on it’s Google Code adverts? “Computer Scientists don’t adapt other people’s code, they create their own!”

Anyway the problem I’m having with finding quality documentation online for Ruby web development is the exact opposite problem I had when I first learned about CGI using Perl back in 2004: there’s too much of it! But in an ironic twist, just as the sailor stranded at sea in a lifeboat can’t drink the water despite it being all around her, all the documentation I’m finding is all about Ruby on Rails! Even the O’Reilly book on Ruby proudly proclaims it to be the language that powers Rails!

Ruby is not just for Rails!

Virtually every search I perform for Ruby development in books, online or even talking to people, whether it’s for MySQL connectivity, FastCGI or sessions always brings up Ruby on Rails but not Ruby! I don’t want the triple chocolate sundae with nuts and fudge, I want the wholesome Ruby goodness you can only get from eating the plain but smooth vanilla ice cream. From the tub. With a spoon. In my pajamas. That’s a funny mental picture.

Now don’t get me wrong, there are some good websites on Ruby web development such as Hiveminds in the UK, but I guess what I’m trying to say is that I’m fed up with seeing what appears to be an excellent page detailing an aspect of Ruby web development only to discover that they’re talking about Rails! Argh!

I guess one could ask why someone who wants to do web development in Ruby doesn’t want to use Rails, and I could spend all day typing here explaining why, but Hiveminds puts it very eloquently:

One of the most troublesome of the Rails drawbacks for me and the reason that I decided to go with eRuby is the that Rails was taking up all my time with Rails problems and troubleshooting. I was learning a lot about using Rails but not much of the Ruby programming language. Someone suggested we go with CGI instead and while researching this we found eRuby.

eRuby is a much easier way of using, learning and getting the power of Ruby on to a website. With eRuby deployment is a easy as uploading your files to your web server. This is to say deploying an application or webpage is no harder in eRuby than it’s counterparts like PHP or ASP. I honestly believe that if Ruby popularity is going to increase that eRuby will be the reason. Unlike Rails eRuby has a very shallow learning curve and does not require a lot of effort by web hosting companies to set up.

Now just in case you’ve got the wrong idea, I personally don’t have anything against Rails and have even used it myself for a few projects, but for most of what I do it’s overkill and when I’m looking for just Ruby material it can get tedious when you get superfluous information. But I am weird right?

Fickleness 101: Sticking with WordPress

WordPress

After a long time developing the alternative version of this site, the real world has finally set in and I’ve decided not to move over to the new platform. When I see how much work it would take to transition over versus the amount of time I have to do such things, I decided just to stay with WordPress for the Show and Blog for the time being after all.

All my work has not gone to waste though, I was able to submit it as part of a project and got a perfect score, so it fulfilled it’s purpose. And I learned a great deal about how trackbacks, pings and blog engines actually work, which makes me appreciate what WordPress offers even more.

Then there was the financial problem. It would probably surprise nobody given it’s IT savviness that Singapore has a mind boggling array of web hosting companies, but none of them provide Ruby on Rails support unless you purchase Business plans, which are in the three digits per month. As a struggling university student living under a John Howard government (albeit externally) you can understand why I couldn’t afford it!

With that in mind, I’m going to modify the new theme I had created so it can be used with WordPress. This week I have less work so I’ve promised myself that by this time next week, the new show and blog site will be up and running. That’s a promise!

The next step, even though Wordpress is PHP, can you write plugins for it in Ruby? :D

All work and no play makes Ruben need coffee

image545.jpg

Listening to Angélique Kidjo sing Idjé-Idjé. Her music is so great to chill out too.

Hidey-ho again everyone. I’d like to apologise for the chronic lack of updates to both the show and this site for the last few weeks, things here have been really crazy. Moving house internationally again, unpacking masses of boxes, taking care of my mum through it all, wading through the ocean of work I let accumulate while we were in the serviced apartment, it’s crazy.

I finally caved though and got one of those blasted Facebook accounts. In my own defense, virtually everyone from my old high school is on it, and I must say it’s a been a real boon to catch up with people I haven’t talked to in a few years (some even longer than that!). If you use it, search for “Ruben Schade” and add me if you want. I’ve also got my Twitter and Jaiku pages which I update through my handphone if you’re really that interested in what I’m up to.

I tell you what though the Ruby on Rails version of this site which I’ve got running on my local webserver is looking really good and I can’t wait to implement it. I’m hoping once most of the boxes have been unpacked and my mum gets off this latest chemo regime and can start talking again I’ll have a sliver of spare time to get it up and running.

Thanks everyone for your patience.