[Rails] Declaring ActiveRecord observers
Juan Lupión
pantulis at gmail.com
Sun Mar 5 13:25:16 GMT 2006
> The only reason I don't use it is because it didn't seem to work
> correctly in dev mode. They would work the first request, but not
> after because of the class reloading. This may have been fixed
> though. Try it out and let me know if everything works fine.
Uhm... declaring the observer only in "config.active_record_observers"
shows some erratic behaviour in development mode, as you said. So my
previous statement "The observer gets triggered in both cases" was
plain wrong, I guess.
--
----------------------------------------------------
http://www.sobrerailes.com
More information about the Rails
mailing list