On Mon, Oct 08, 2007 at 01:36:32PM -0400, Sean Schofield wrote:
> I seem to recall reading that engines will not allow you to override
> your plugin models in the main application. Is that true?
It won't work properly with autoloading. You'll have to it manually.
Just put
require_dependency
"#{RAILS_ROOT}/vendor/plugins/my_engine/app/models/my_model.rb"
just before the class definition in RAILS_ROOT/app/models.
James, this seems to be a FAQ. Can you include it on the website's
FAQ page? Thanks.
Regards,
Peter Bex
Solide ICT - http://www.solide-ict.nl
_______________________________________________
Engine-Users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org