Arabibay.com & Responds to parent error

I know it has been a very very long time since I last posted. Quite a few things have been happening in my life the past 4 months. But I will not bore you with the details :)

I have been working on a few sites lately. The latest project which has just been made live is Arabibay.com

Arabibay is a free classifieds website that allows people to post adverts around the world. As you can tell by the title, it is aimed at the Middle East, but all countries are supported. Check it out and leave some feedback, as always your comments are greatly appreciated.

Responds To Parent

As I can’t post without mentioning something technical (however insignificant). For this project I needed to allow users the ability to upload images to the system via AJAX. I came across this very good tutorial and a really useful plugin called Responds to Parent .

However I had a few issues setting up the plugin. I installed the plugin like so


  script/plugin install http://responds-to-parent.googlecode.com/svn/trunk/ 

It installed it into a folder called trunk, so immediately I changed the folder name to responds-to-parent. So far so good.

I then tried to restart the app but the app failed to start with this plugin installed. So I looked around on the net for the error I was getting, but nothing came about.

To cut a long story short, I needed to rename the folder to responds_to_parent as in the init.rb, it is obviously requiring RespondsToParent, which assumes responds_to_parent.

Hopefully this can save someone some time :)

Future Posts

I know that I have said this before, but now that I have settled down a bit, I am hoping to blog on a more regular basis.

Hamza