rails Archive

Rails blank? happy or sad

Given the rails following code: Quick what is the value of happiness in the following codeĀ if : If you said, “Dah! ‘happy’ of course Mr. Obvious”, you are right. Good job! what about: Well of course, ‘unknown’. last one, how about this one: If ...Read More

MySQL and Rails: mysql.sock not found

I started doing my webapp on my brand new server (ubuntu linux 7.04) and when trying to run my first migration I got the following error message: rake db:migrate(in /home/rizvi/projects/somewebapp)rake aborted!No such file or directory - /tmp/mysql.sock Here is a useful mysql command to ...Read More