Rails - Failed Deployment Routes

I have an application that has the following route file:

namespace "admin" do # ADMINISTRATIVE ROUTES ONLY root :to => 'home#index' resources :comments do member do get :approve get :reject end end resources :users do member do get :block get :unblock end end end 

When hovering over / admin, the corresponding page greets me locally. At the same URL for the heroku version, I get 404. The route shows correctly in the "geeky routes"

Magazines show:

 ActionController::RoutingError (wrong constant name Admin/ homeController): /disk1/home/slugs/196384_c95a9e3_4463/mnt/.bundle/gems/gems/ activesupport-3.0.0.beta4/lib/active_support/inflector/methods.rb: 103:in `const_defined?' 

Any ideas?

+5
source share
3 answers

This finds out that this is a problem with the right_aws gem that we had in our Gemfile.

+1
source

It looks like it is finding the homeController line class, but I don't understand why. Check your file to make sure you name your class correctly?

0
source

Looks like a bug in the beta version of ActiveSupport. Are you using the exact same version of rails?

0
source

All Articles