Online Chat application in Rails 3.1.3

Hi all,
How to create Online Chat application in Rails 3.1.3 and Ruby 1.9.3

Could any one please tell me the steps or any sample application..Please

Kingston.s

Watch http://railscasts.com/episodes/260-messaging-with-faye and http://railscasts.com/episodes?utf8=%E2%9C%93&search=chat

bráulio

Thanks ráulio

kingston.s