That fix is deceptivly simple but it took me long hours to track it down. The best part of it, though, is that I now have a much better understanding of rails observers, dependencies, dispatching and initialization code. And I learned quite a bit on the internals of typo too. :)
I wish I could use mongrel as well, but with DreamHost, I'm stuck with fcgi. Not for lack of trying various sneaky ways, but so far no luck. Their setup of apache is just too locked down.
Pascal
http://blog.nanorails.com
On 8/17/06, Trejkaz <[EMAIL PROTECTED]> wrote:
> The way to workaround this is to setup your observers in
> ApplicationController instead of environment.rb adding this line to the
> app/controllers/application.rb:
>
> observer :content_observer, :email_notifier, :web_notifier
>
> I'm still testing the patch before I use it on my site and I'm guessing
> that's probably an oversight from the rails code, but the workaround seems
> to work for me.
Hey, works for me too! Thanks for that. :-)
FWIW, I'm using Mongrel to run my development instance. I use FastCGI for
production still because I'm too lazy to reconfigure my Apache.
TX
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list
_______________________________________________ Typo-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/typo-list
