Saurabh
Saurabh

Reputation: 11

Circular dependency detected while autoloading constant PollsController

I am trying to build a custom polling functionality by inheriting Rapidfire with my controllers.

class PollsController < Rapidfire::PollsController

The line above shows an error, while the same thing runs successfully in another controller:

class QuestionsController < Rapidfire::QuestionsController

I followed the same procedure and also extended the controller with Rapidfire.

error screen

Upvotes: 1

Views: 94

Answers (0)

Related Questions