Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-1412

rails-dev-boost incompatiblity

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.4.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Hey guys,

      sorry, if the issue tracker isn't the best place for this.

      I'm the maintainer of the rails-dev-boost (a Rails plugin that speeds up development mode by reloading only the changed ruby files in between requests). I have users reporting incompatibility with mongoid here: thedarkone/rails-dev-boostMONGOID-30.

      Basically the only thing that should be able to trip rails-dev-boost up are "class-level" references between reloadable constants, the plugin already ships with custom ActiveRecord-handling code: see here.

      I went over mongoid's codebase looking for class-level caching behaviour and only found 3 things:

      Here's my current mongoid-specific patch: see code here.

      Users are reporting that this is not enough, this means I must have missed something. Can any of the mongoid's devs help me out?

      Thanks!

            Assignee:
            Unassigned Unassigned
            Reporter:
            thedarkone thedarkone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: