resource_controller icon indicating copy to clipboard operation
resource_controller copied to clipboard

uninitialized constant ResourceController

Open conradwt opened this issue 15 years ago • 4 comments

I installed the resource_controller as a gem and added the config.gem to the environment.rb. However, I'm getting the following error message:

]/opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:443:in load_missing_constant' /opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:inconst_missing_with_dependencies' /opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:92:in const_missing' /Users/conradwt/rails.dir/examples/purchase/app/controllers/admin/purchase_orders_controller.rb:1:in'

conradwt avatar Apr 08 '10 11:04 conradwt

This issue has been resolved.

conradwt avatar Apr 10 '10 06:04 conradwt

What did you do to solve this issue conradwt? I'm having the same issue, so it would be nice with a solution ;-)

renemadsen avatar May 11 '10 15:05 renemadsen

Found the solution my self - and it's just to place the config.gem "resource_controller" in your environment.rb file...

renemadsen avatar May 11 '10 16:05 renemadsen

Yes, this is the way that I resolved the issue. In the future, I need to remember to post my solution(s) when I resolve the issue.

conradwt avatar May 11 '10 17:05 conradwt