-
Type: Task
-
Resolution: Done
-
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:
- Mongoid::Relations::Metadata's @klass and @inverse_klass instance vars,
- Mongoid::Document::ClassMethods's @_types cache.
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!