Skip to content

Instantly share code, notes, and snippets.

@mdarby
Created April 4, 2012 00:11
Show Gist options
  • Save mdarby/2296567 to your computer and use it in GitHub Desktop.
Save mdarby/2296567 to your computer and use it in GitHub Desktop.
/Users/mdarby/.rvm/gems/ruby-1.9.3-p125-perf/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:503:in `load_missing_constant': Expected /Users/mdarby/Documents/Code/ccw_32/app/controllers/reports/accountant/approved_time_off_requests_controller.rb to define Reports::Accountant::ApprovedTimeOffRequestsController (LoadError)
from /Users/mdarby/.rvm/gems/ruby-1.9.3-p125-perf/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:192:in `block in const_missing'
@mdarby
Copy link
Author

mdarby commented Apr 4, 2012

I'm upgrading a Rails 3.0 app to 3.2. This file never caused issues before. If I nix it the next namespaced controller in that dir bombs out with the same error. Is it that the multiple namespace is screwing things up in 3.2?

@arsduo
Copy link

arsduo commented Apr 16, 2012

Did you ever figure this out? I'm seeing the same thing in 1.9.3p125, though with Rails 3.1.4, not 3.2. Thanks!

@mdarby
Copy link
Author

mdarby commented Apr 16, 2012

Unfortunately not -- I removed the tests after banging my head against my desk for a few days. Good luck and post back if you find anything!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment