Created
September 25, 2014 14:36
-
-
Save gabeodess/ce841d64a450e04cca13 to your computer and use it in GitHub Desktop.
Thread:: superclass on my controller not found
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Queue::CompetitorsController < ApplicationController | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| When I visit "/queue/competitors" I get the following error: | |
| uninitialized constant Thread::Queue::CompetitorsController | |
| with a list of all my routes including this one: | |
| queue_competitors_path GET /queue/competitors(.:format) queue/competitors#index |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace :queue do | |
| resources :competitors, :only => [:index, :new, :create, :destroy] | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, changing Queue to MyQueue seems to have fixed the problem. I guess Queue is already defined somewhere in the rails stack creating some kind of conflict.