Monthly Archives: October 2007

Best setup for Rails, PHP and MySQL on a small VPS

Anyone who is on a small VPS (256mb in my case) knows how resources can run low pretty quickly! Especially if you are trying to run both a Rails site and a PHP site on it. Pretty much any stack you chose (whether it is nginx with mongrel, or lighttpd with fastcgi or mongrel etc..) […]

SilverScripting is now at slicehost

Hurray! My (extremely cool!) boss, allowed me to put some of my stuff on his slice over at slicehost. I can already see the performance increase compared to my old VPS… (both were on the same LiteSpeed setup). This is cool especially considering the long waiting list to get a new slice…
Time to move some […]

moodows has a new home

Since I didn’t have much free time to work on moodows anymore, Ben Hutchins offered to take the project over. He had already added a lot of features. I might work some more on the project eventually when I have my life back, in the meantime, check out the new moodows here.

Quick post about Rails DB relationships…

One mistake that I always seem to make is when it comes to choosing between a has_one/belongs_to relationship or simply a belongs_to relationship… I always forget which one should be used in which situation. Well now I’m writing it here so hopefully I remember!
Case 1)
has_one/belongs_to example: Let’s use an example to illustrate when this relationship […]

Netbeans Ruby IDE kicks ass!

I decided to give netbeans ruby ide a try for my new rails project, after having read a lot about it on blogs (especially this post on LifeOnRails). At first I thought it was a bit slow, but it turns out the nightly build I was using had some problems. I downloaded a new one […]

Announcing SnippetsLab

Well it started mostly as a fun project for trying out Rails, and it ended up SnippetsLab . Basically it’s a site where you can post your code snippets. It supports syntax highlighting for 13 languages (more comming), and you can select between multiple “themes”, which will change the colors of the syntax highlighthing (inspired […]