It seems to be a bit of a heisenbug:
http://rails.lighthouseapp.com/projects/8994/tickets/1548-gem-tasks-fail-when-cache_classestrue
http://rails.lighthouseapp.com/projects/8994/tickets/802-eager-load-application-classes-can-block-migration
http://www.redmine.org/issues/show/2441
I've seen it bite me:
- trying to migrate up fields in the database, while a model was trying to call "alias" on the field
- trying to automatically install a gem dependency, including while a model was trying to mixin a module from that gem
- trying to run specs in a plugin when the app it was plugged into had syntax errors in a model
Gaaah.
No comments:
Post a Comment