Get WordPress On Cloud Using Kodingen

Are you a beginner in wordpress who wants to play around with a sandbox wordpress installation on the cloud? Are you the one who does not want to buy domain or hosting space and still experience a self hosted wordpress installaiton? If the answer to the above two questions is yes, than you should immediately head over to Kodingen which provides you free cloud space for self hosted wordpress. What is Kodingen ? It is an online service that takes the pain out of of configuring/installing/FTPing stuff to setup CMS….. Read More

Rails – Private Method `gsub!’ called for – Solution

Private Methos Gsub

My Ruby on rails environment suddenly started throwing the following error when I tried to attach to http://localhost:3000 -”private method `gsub!’ called for #”. I had not made any changes in the environment for me to suspect on anything specific. This was also concerning because I was still evaluating the fresh ruby on rails installation on Ubutnu. I noticed that the print also mentioned Webrick which is the default RoR web server. I recollected that I had used mongrel in my last installation as it is supposed to more fast….. Read More

ActionController Invalid Authenticity Token Solution For Using Ajax On Rails

The other day I was trying to run Ajax with Rails and a very simple pop-up invocation started failing when I used it with prototype.js. Basically I wanted that when a link object is clicked, it pops up a message from the browser using Ajax. Essentially <OnSuccess> was intended to create this pop-up which was not appearing. So I changed <OnSuccess> to <OnFailure> to figure out the reason of failure and discovered the error [ActionController::InvalidAuthenticityToken] was causing the problem. This was strange since the non prototype.js counterpart code was working….. Read More

How To Install Ruby On Rails Server On Ubuntu

Ruby on Rails Ubuntu

The other day I wanted to setup ruby on rails server on Ubuntu for some experimentation. After some trial and error and a few google searches – I was able to get the server running on Ubuntu. Following are the steps that worked for me on Ubuntu 10.04 Step 1 – Install ruby Ruby is the object oriented language based on which the web framework called rails has been built. sudo apt-get install ruby-full build-essential Step 2 – Check ruby installation ruby -v ruby -ropenssl -rzlib -rreadline -e “puts :Hello”….. Read More