ActiveRecorod observers don't work in mongrel?

Am i wrong or do ActiveRecord observers not work in mongrel? Is there
a work around for this?

I am 100% sure of this because in my observer i put raise “whatever”.
Whenever I try update the model using the mongrel server I get a
successful save. If I do it in webrick I get an exception raised.

Any ideas what I should do? Because webrick is pretty annoying to
work with.

Thank You,
Ben J.
E: remove[email protected]

On Fri, 2006-07-21 at 01:38 -0500, Ben J. wrote:

Am i wrong or do ActiveRecord observers not work in mongrel? Is there
a work around for this?

I am 100% sure of this because in my observer i put raise “whatever”.
Whenever I try update the model using the mongrel server I get a
successful save. If I do it in webrick I get an exception raised.

Weird Ben. You got a simple test case that demonstrates it for me? If
you can work up a small case (a reduction) then pop it in here:

http://rubyforge.org/tracker/?atid=5145&group_id=1306&func=browse

And I’ll put it on my list. It’s quite possible that something is
clashing with some of the common command classes Mongrel has (Start,
Stop, Restart, etc.)


Zed A. Shaw


http://mongrel.rubyforge.org/
http://www.railsmachine.com/ – Need Mongrel support?

Hi Zed,

http://rubyforge.org/tracker/index.php?
func=detail&aid=5148&group_id=1306&atid=5145

I added the bug. I hope that’s simple enough, but I am certain this
is a problem. I think mongrel is great and would love to use it in
production, but I simply can not if observers do not work.

Keep up the good work. I will check soon for an update.

Thank You,
Ben J.
E: [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs