On 3/15/07, James Ho <[EMAIL PROTECTED]> wrote: > Given our development model, if things need to be added to the engine > such as models, migrations and controllers what is the best way to do > this? Since a plugin does not have it's own generators it would be quite > a maintenance nightmare, not to mention destroying the elegance and > abstraction of engines, to generate them in the top level rails apps and > keep copying everything down to the engine.
This might not be the solution you're looking for, but I simply don't use generators when adding things to the engine. As a side effect I found it forced me to learn the rails structure a bit better :) > What do we do about unit testing the engine by itself? I'm assuming you're running the latest engines plugin since you're using rails 1.2. So if you put your engine tests in vendor/plugins/engine_name/test they can be run with rake test:plugins PLUGIN=engine_name Justin _______________________________________________ engine-developers mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org
