Hello,
I can't start RoR if I put config.active_record.observers = :users_observer into my environment.rb file. Mongrel gives me this error:
** Daemonized, any open files are closed. Look at tmp/pids/mongrel. 80.pid and log/mongrel.80.log for info. ** Starting Mongrel listening at 208.79.204.140:80 ** Initiating groups for "ilikeyou":"ilikeyou". ** Changing group to "ilikeyou". ** Changing user to "ilikeyou". ** Starting Rails with development environment... /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ active_support/dependencies.rb:278:in `load_missing_constant': uninitialize$ from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ active_support/dependencies.rb:467:in `const_missing' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ active_support/dependencies.rb:479:in `const_missing' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ active_support/inflector.rb:283:in `constantize' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ active_support/core_ext/string/inflections.rb:143:in `constant$ from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/ active_record/observer.rb:38:in `instantiate_observers' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/ active_record/observer.rb:36:in `each' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/ active_record/observer.rb:36:in `instantiate_observers' from /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/ action_controller/dispatcher.rb:26:in `define_dispatcher_callback$ ... 25 levels... from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../ lib/mongrel/command.rb:212:in `run' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ mongrel_rails:281 from /usr/local/bin/mongrel_rails:19:in `load'
Any ideas? I got the latest version of restful_authentication from github.
Best regards. Asbjørn Morell.