search for: load_observ

Displaying 2 results from an estimated 2 matches for "load_observ".

2006 Aug 08
2
Migrations broken on trunk?
...environment rake aborted! undefined method `instantiate_observers'' for ActiveRecord::Base:Class /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1129:in `method_missing'' /home/magneticworld/config/../vendor/rails/railties/lib/initializer.rb:179:in `load_observers'' /home/magneticworld/config/../vendor/rails/railties/lib/initializer.rb:105:in `process'' /home/magneticworld/config/../vendor/rails/railties/lib/initializer.rb:42:in `run'' /home/magneticworld/config/../config/environment.rb:10 -- Posted via http://www.ruby-forum.co...
2008 Sep 18
1
user_observer (restful_authentication) causes failure in loading rails
I have restful_authentication in use on an app and it has been working fine, but I recently was changing the account creation flow and needed to enable the UserObserver. I did so by including it in the environment.rb (config.active_record.observers = :user_observer) and Rails wouldn''t start. I got the following error; source/communitysites/vendor/rails/activerecord/lib/active_record/