I tracked it down to a missing APP_URL in production.rb.  It was a
somewhat obscure error message ;-).

This brings me to the question: What is the status on eliminating
APP_URL?  I found this thread:
http://groups.google.com/group/communityengine/browse_thread/thread/4b71b1ce7d17931d/e91ce5e9c529892a?lnk=gst&q=APP_URL#e91ce5e9c529892a
from 9/08.  Any change since then?

Thanks,

Andreas

On May 25, 8:09 pm, moritz <[email protected]> wrote:
> This only happens in production, running under Passenger or Mongrel
> (i.e., RAILS_ENV=production script/server) and I can't figure out how
> to fix it.  It's CE master and Rails 2.2.2.  Any clues?
>
> Thanks,
>
> Andreas
>
> The top of the stack trace:
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:419:in `load_missing_constant'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:77:in `const_missing'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:89:in `const_missing'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:95:in `send'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:95:in `const_missing'
>     /vendor/plugins/community_engine/app/models/user.rb:18
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:182:in `call'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:182:in `evaluate_method'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:166:in `call'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:93:in `run'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:92:in `each'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:92:in `send'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:92:in `run'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:277:in `run_callbacks'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> callbacks.rb:315:in `callback'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> callbacks.rb:238:in `create_without_timestamps'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> timestamp.rb:29:in `create'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> base.rb:2699:in `create_or_update_without_callbacks'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> callbacks.rb:222:in `create_or_update'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> base.rb:2383:in `save_without_validation'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> validations.rb:1009:in `save_without_dirty'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> dirty.rb:79:in `save_without_transactions'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> transactions.rb:179:in `send'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> transactions.rb:179:in `with_transaction_returning_status'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> connection_adapters/abstract/database_statements.rb:66:in
> `transaction'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> transactions.rb:129:in `transaction'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> transactions.rb:138:in `transaction'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> transactions.rb:178:in `with_transaction_returning_status'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> transactions.rb:146:in `save'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> transactions.rb:158:in `rollback_active_record_state!'
>     /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> transactions.rb:146:in `save'
>     /app/controllers/users_controller.rb:120:in `create'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to