# Deployed application but it seems that no models are loaded

**URL:** <https://www.ruby-forum.com/t/deployed-application-but-it-seems-that-no-models-are-loaded/122694>\
**Category:** Rails\
**Created:** [December 10, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/deployed-application-but-it-seems-that-no-models-are-loaded/122694 "2007-12-10T21:21:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c0e974/32.png) [@gabru](https://www.ruby-forum.com/u/gabru)\
**Post date:** [December 10, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/deployed-application-but-it-seems-that-no-models-are-loaded/122694/1 "2007-12-10T21:21:09Z")

</div>

i have a strange problem …  
i successfully deployed my application and the mongrel cluster runs fine  
… now on the application level i get the following error when i request  
the app via the browser (it looks like not all files have been loaded  
automatically, because also on a console i get the same error):

/var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active\_support/dependencies.rb:263:in  
`load_missing_constant' /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:452:in`const\_missing’  
/var/www/quadratmeter/releases/20071210201141/app/views/layouts/default.rhtml:22:in  
`_run_rhtml_47var47www47quadratmeter47releases472007121020114147app47views47layouts47default46rhtml' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:325:in`send’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_view/base.rb:325:in  
`compile_and_render_template' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_view/base.rb:301:in`render\_template’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_view/base.rb:260:in  
`render_file' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/layout.rb:254:in`render\_without\_benchmark’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/benchmarking.rb:50:in  
`render' /usr/lib/ruby/1.8/benchmark.rb:293:in`measure’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/benchmarking.rb:50:in  
`render' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:1102:in`perform\_action\_without\_filters’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/filters.rb:696:in  
`call_filters' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:688:in`perform\_action\_without\_benchmark’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/benchmarking.rb:66:in  
`perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in`measure’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/benchmarking.rb:66:in  
`perform_action_without_rescue' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/rescue.rb:83:in`perform\_action’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/base.rb:435:in  
`send' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in`process\_without\_filters’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/filters.rb:684:in  
`process_without_session_management_support' /var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/session_management.rb:114:in`process’  
/var/lib/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/base.rb:334:in  
`process' /var/lib/gems/1.8/gems/rails-1.2.5/lib/dispatcher.rb:41:in`dispatch’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/rails.rb:76:in  
`process' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/rails.rb:74:in`synchronize’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/rails.rb:74:in  
`process' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:155:in`process\_client’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:154:in `each' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:154:in`process\_client’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in`initialize’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in `new' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:281:in`run’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in `initialize' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in`new’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel.rb:264:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/configurator.rb:282:in`run’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/configurator.rb:281:in  
`each' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/configurator.rb:281:in`run’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/bin/mongrel\_rails:128:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.1/lib/mongrel/command.rb:212:in`run’  
/var/lib/gems/1.8/gems/mongrel-1.1.1/bin/mongrel\_rails:281  
/usr/bin/mongrel\_rails:16:in `load’  
/usr/bin/mongrel\_rails:16

i have no clue…

---

<div class="post-metadata">

**Author:** ![gabru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c0e974/32.png) [@gabru](https://www.ruby-forum.com/u/gabru)\
**Post date:** [December 10, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/deployed-application-but-it-seems-that-no-models-are-loaded/122694/2 "2007-12-10T21:22:29Z")

</div>

sorry and the error is

uninitialized constant ActionView::Base::CompiledTemplates::Q2

Q2 is a class which lives in models …  
all that stuff work fine on my dev machine
