faded picture of luke
a semi-random photo | click for the full photo gallery
click to browse photos
homepage navigation

Luke Melia

A Wild Ruby and Rails Presentation

I don’t know Alex Bunardzic, but I do know he’s put together a pretty wild presenation on Ruby on Rails. If you’re slightly drunk on Gewurztraminer, as I am, you might enjoy this…

Xyle scope

I just played around with Xyle scope, a web development product for OS X from a dutch company called Cultured Code. It looks like a great tool to understand and experiment with CSS. This is going to sound like an advertisement, but at $14.95, this is a no-brainer. Into my toolbox.

Ruby on Rails on Pair.com, and on OS X

Inspired by Tracks, a GPL Ruby on Rails app designed to support David Allen’s Getting Things Done system, I decided to get my feet wet in this technology.

My first project was to get a hosted copy of the stable release (1.03) running on my site here at pair.com. These instructions were very useful.

But I didn’t like that they focus on installing in the root of a site, though, and I drove myself a little crazy getting Tracks up and running in a subdirectory. This post helped get that working properly. The .htaccess change was really all that was required. But there was a lot of broken routes, and I’m not clear yet if the subdirectory change is the cause, or what. One other thing to note is that you want to install the rails app outside of your webroot and then symlink to the public directory, because there is sensitive info in there.

I love the application and am full of ideas to improve it, so my next project is to get the trunk running on my G5 under OS X 10.4. Got RoR installed, installed mysql, checked out the latest code from tracks via subversion, and then I got hit with what seems to be a very common issue on Tiger – the “No database selected” selected error. I read a whole bunch of stuff, but I want to give a shout out to juju.org and send them some pagerank, because here’s the succint solution that worked for me.

You know, one of my colleagues was laughing because a non-programmer emailed him a two sentence email. “Ruby on Rails. What is this?” There is a lot of hype right now, but there also signs that the framework has some legs. Key among them for me was ThoughtWorks’ recent announcement that they were adding RoR as part of their core offerings. I wouldn’t yet say I’m on the bandwagon, but I’m admiring the wagon’s finish, looking into the wagon’s history, and taking it for a test drive.

Flickr: Releasing early, releasing often.

Via Jason Yip, Chris May reveals that the Flickr team releases as often as every half hour. To be able to do that for a site that gets Flickr’s kind of traffic is awesome. Well-done!

Chaining CSS files with @import

Here’s the situation: Sharepoint allows me to specify one single custom stylesheet for a portal site. But I want to modularize my web parts so they are self-contained with a separate css file containing the styles required for it to render properly. A conundrum…

Together with my colleague Keith, we found out that you can chain stylesheets together using @import. So, for a fictional HelloWorld web part, I would have a HelloWorld directory installed in the root of the portal site, and it would contain a file called hello.css. Then I would include instructions to add a single line to the top of the portal site’s custom css file:

@import url("/HelloWorld/hello.css");

Not sure about browser support of this spec, but I know that IE 6/Win, the target for our intranet, handles it correctly.

LukeMelia.com created 1999. ··· Luke Melia created 1976. ··· Live With Passion!
Luke Melia on software development freelance web development how to contact me Luke Melia, Software Developer letters and more from my travels photo gallery personal philosophy