Skip to content

{ Category Archives } Hacking

acts_as_featurable

In restate.ae, we have the need to feature a model - property, neighborhood, or video - for a period of time. So, I wrote a plugin called acts_as_featurable to allow developers to attach that type of functionality to any model.

The plugin still needs some work in the testing front, and I have some enhancements in [...]

Tagged , ,

Translate attributes using Rails I18N

I’ve been following the Rails development team since they started working on a built-in 118N solution. We’ve just delivered an application that has to support both english and arabic; so, the project was a perfect fit for the new I18N functionality because I needed support for view and model translations.

I’ve decided to write a simple [...]

Tagged ,

Moving from SVN to git

I’ve started to do some desktop file clean up, and have just noticed a couple of text files I keep around that I wrote when starting to move from Subversion to git. I decided to put those instructions in the blog for myself and the world, and delete those files.

The process of moving an [...]

Tagged ,

Installing the rjb gem

I’ve decided to give JRuby a try under Mac OS X 10.5.5, and the ride has had its share of challenges so far. First thing, after I downloaded and extracted JRuby to a folder in my machine, I had to setup the JRUBY environment variable, and make a change to the PATH variable, that looked [...]

Tagged , ,

Eye of Judgment on the iPhone

Eye of Judgment is a strategy card game for the Playstation 3. If you’ve never heard of it, just click here to see it in action and learn about the game. I’ve been playing the game since it came out, and really enjoy all the aspects and different possibilities; however, I always wanted to have [...]

Tagged ,