I've tried to implement a simple Observer to log changes to my objects.
Whenever I try to enable the observer in my environment.rb, my application
refuses to start.
Here's what's in my environment.rb:
Rails::Initializer.run do |config|
config.active_record.observers = :audit_observer
It seems, that rails can't find the plugins used in the observed models. This
was a problem in older rails version (see
http://dev.rubyonrails.org/changeset/4684), but I'm using rails 1.2.3, so
this is already included.
As nearly all my models ar using some plugins, what can I do to get observers
Here's the mongrel output:
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3005
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3005
** Starting Rails with development environment...
`method_missing': undefined method `acts_as_timeable' for Client:Class
... 38 levels...