I got a strange problem. I'm using rspec to develop some new features
on a rails 3 app.
I load my observers from the application.rb file like this;
config.active_record.observers = :admin_observer,
When writing tests and doing BDD the observers are loaded correct.
Then when I go into development mode the observers aren't loaded or
When I change my development setting to;
config.cache_classes = true
the observers get loaded and executed.
Does anyone else have the same problems?
I'm currently on Rails 3 beta 4 running ruby-1.8.7-p299
Hope you can help me out!