How to Restart Ruby on Rails from shell for a particular account

Following are the steps to restart ROR for a particular domain:

root@server[#] cd /home/username
root@server[#] cd rails_apps
root@server[#] cd demo (Application name)
root@server[#] mongrel_rails mongrel::restart

Thats it!