You can find more examples in machine event offical site. Could you 
given your code , so that I can try to help you.

-- 
Posted via http://www.ruby-forum.com/.