OK, so I thought I'd go back to basics, fresh empty rails app with a single empty engines enable plugin and still no joy.
With my_model.rb and my_model_observer.rb in app/models, everything starts up fine. If I move them to vendor/plugins/testplugin/app/models, I get the same unitialized constant error. I then tried it without specifying the plugin load order (config.plugins = ['engines', '*']) and there is no error, despite the plugins loading in the same order. If I explicitly specify the plugin (config.plugins = ['engines', 'testplugin']), it also works. Same applies to my app, with the plugin explicitly listed in the config, it now works. Is this expected behaviour? _______________________________________________ Engine-Users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
