Ruby On Rails : RuntimeError : Circular dependency detected

I faced this error and logged it so that any other who faces this error should not waste useful time on fixing this:

RuntimeError in Users::SessionsController#new

Circular dependency detected while autoloading constant SharedHelper

Extracted source (around line #1):


error

Mistake I did:

helpers/shared_helper.tb

helpers/shared_helper.tb

Solution:

helpers/shared_helper.rb

helpers/shared_helper.rb

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s