I\'ve followed this tutorial (http://railscasts.com/episodes/236-omniauth-part-2) for creating facebook login with OmniAuth and Devise and I get this error: Circular depend
I created the same error with a typo, I had
module EmployeeReminderssHelper
when the helper file was called
employee_reminders_helper.rb
(Note the extra 's')
I had a similar problem.
And then realised I have the same file duplicated in different folders inside controller, and that was causing the problem.
I had both files with the same content:
app/controllers/logs_controller.rb
app/controllers/api/logs_controller.rb