This project is archived and is in readonly mode.
Observers and Rails 2.3.5
-
Matt Jones
Not sure how this was working in 2.3.4, but your syntax is incorrect:
:projectinconfig.active_record.observersshould be:project_observer. -
sad sheep
Sorry for my mistake :(
Rails 2.3.5 works with your syntax.
I suggest to change into environment.rb the following commented lines then:
Activate observers that should always be running
config.active_record.observers = :cacher, :garbage_collector, :forum_observer
Thanks and keep up the good work!
m.
-
Matt Jones
- State changed from new to invalid
I'm unsure what your comment above is supposed to mean - there's no magic applied to the names of the observers, so what you put in the config statement is what you get.
Closing for now.