andhapp Random ramblings

Rails Input output error on linux

If you are getting input/output error on linux rendering .rhtml pages then the only way you can resolve it is by freezing the version of rails…just do:

rake rails:freeze:gems

This command will freeze this rails application to the version of Rails on the server. If you want to delve deep click the link : Freeze Rails

Future is bright Future is ETextEditor

No denying you will be absolutely gobsmacked by this text editor which is Windows equivalent of Mac’s text mate…and the features are sweet…so powerful. My earlier choice of text editor EditPlus2 just looks feeble to me now…

Some of its features are:

1) Select different words by pressing the Ctrl key down and then edit them simultaneously.

2) Complete auto completion facility for several programming languages like Rails and so on.

3) Execute Unix commands on the files in the context like doing a grep on the file to match certain expression.

and there are many more….so go on and unleash the power…here’s the website link to download. Watch the screencasts and check out some of its features.

My trivial mistake using MySql with Rails

Well as you know I did a fresh installation of ruby and rails on my system.

SO I created the database and tried retreving the records from it and for some reason it threw numerous “access denied” errors and it is then I realised that I need to download MySql adapter but still why will it give me “access denied” errors…beyond my intelligence.

For some reason I always thought mysql was part of the rails gems….but I was wrong.

I know it sounds so nooob…

Congestion charge

My ferret for articles related to recent congestion charge debate led me to few of these published back in 2003. These articles do not highlight the usual besetment; they rather ostentatiously describe “congestion charge” as the harbinger of good. I am not sure if the writers of these articles in the present day still maintain the same opinion or not (that will remain a mystery to us)

I know you do not believe me so here are the links: Article 1, Article 2, Article 3 and there are ad infinitum articles sharing the same notions.

So if the successful adoption and running of this system is setting an exemplary example then what is Londoners complaining about? Well the answer is simple and is evident from the questions and answers below:

1) When car prices go up do people stop buying cars? NO!!!

2) When alcohol becomes expensive do people stop drinking? NO!!!

3) When train fare is hiked do people stop travelling? NO!!!

So…I am not sure if the new congestion charge prices will for real stop people from commuting to work (in other words reduce the congestion) but it has certainly affronted the people.