GithubHelp home page GithubHelp logo

Comments (3)

kjayma avatar kjayma commented on July 19, 2024

Yeah, seems to be a problem with this version of rails as far as I can tell.

On Fri, May 30, 2014 at 4:40 AM, Alessandro Lepore <[email protected]

wrote:

this is strange... in development when i change something i need to
restart the app, otherwise i get errors like:

Circular dependency detected while autoloading constant Survey

activesupport (4.0.5) lib/active_support/dependencies.rb:461:in load_missing_constant' activesupport (4.0.5) lib/active_support/dependencies.rb:184:inconst_missing'
[...]/bundler/gems/surveyor_gui-b9a6245d714c/app/models/surveyform.rb:1:in <top (required)>' activesupport (4.0.5) lib/active_support/dependencies.rb:424:inload'
activesupport (4.0.5) lib/active_support/dependencies.rb:424:in block in load_file' activesupport (4.0.5) lib/active_support/dependencies.rb:616:innew_constants_in'
activesupport (4.0.5) lib/active_support/dependencies.rb:423:in load_file' activesupport (4.0.5) lib/active_support/dependencies.rb:324:inrequire_or_load'
activesupport (4.0.5) lib/active_support/dependencies.rb:289:in depend_on' activesupport (4.0.5) lib/active_support/dependencies.rb:207:inrequire_dependency'
[...]/bundler/gems/surveyor_gui-b9a6245d714c/lib/surveyor_gui/engine.rb:17:in block (2 levels) in <class:Engine>' [...]/bundler/gems/surveyor_gui-b9a6245d714c/lib/surveyor_gui/engine.rb:16:ineach'
[...]/bundler/gems/surveyor_gui-b9a6245d714c/lib/surveyor_gui/engine.rb:16:in `block in class:Engine'
activesupport (4.0.5) lib/active_support/callbacks.rb:397:in

or

Circular dependency detected while autoloading constant SurveyformsController

etc.

Not a urgent issue because this should not happen in production, but worth
taking a look.


Reply to this email directly or view it on GitHub
#10.

from surveyor_gui.

alepore avatar alepore commented on July 19, 2024

looks like the cause are those unloadable on models and controllers.
are them really needed? first time i see that method.

seems that surveyor removed them:

* removed "unloadable" declarations

from surveyor_gui.

kjayma avatar kjayma commented on July 19, 2024

Don't recall the reason off hand, but my recollection is that it broke
without them. Give it a shot.

On Wed, Jul 2, 2014 at 10:20 AM, Alessandro Lepore <[email protected]

wrote:

looks like the cause are those unloadable on models and controllers.
are them really needed? first time i see that method.

seems that surveyor removed them:

  • removed "unloadable" declarations


Reply to this email directly or view it on GitHub
#10 (comment).

from surveyor_gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.