I have programmed a sweeper for a model (no registering through
controller). I encountered some problems with that:
The sweeper was only called once when i initialized it in
envrionment.rb by callinf MySweeper.instance.
Then with webbrick it worked fine when I called MySweeper.instnce in
the vefore filter of application.rb (which I think is not good at all)
With lighthttpd this does not work, the sweeper is NEVER called.
So I tried to add it in the config part (observe) of environment.rb but
thanI got an error that one plugin that my model (that I observe) uses
is not found (seems that they are not loaded then)
I tried to add it after the config, but also the sweeper is never
Why is the sweeper not called on lighttpd and on webrick it works fine.
What is the difference. How can I use sweepers on lighthttp?
Anyone using sweeper with lighttpd?