thank you very much, John. i am trying the solution you are given. another related question: i found login to web and give a test takes me much time, can i make a test script to test my participants and listeners ? i found many test scripts under test dir, but i do not have enough knowledge to trace the sources. could you give some suggestion ?
something like http unit will be help ? BTW, ruby scripts files under config/initializers/ will be loaded automatically when server start right ? best regards, sunhao 2009/06/23 22:53 John Mettraux <[email protected]>: > > 2009/6/23 孫 邕 <[email protected]>: > > > > hi, i am doing my works using ruote-web2. > > and i encountered a problem to initialize listeners in ruote-web2 > > i found i may add participants through > config/initializers/participants.rb, > > i would like to add config/initializers/listeners.rb file to add mail > > listeners to route-web2. > > Hello Sun Hao, > > you can add a file like this config/initializers/listeners.rb : > > http://gist.github.com/134540 > > It will instantiate your listener when Rails is starting. > > > Best regards, > > > -- > John Mettraux - http://jmettraux.wordpress.com > > > > -- ---- 孫より --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
