Rails Engine?


How can I build a default engine with the directory structure mentioned

Is there a default engine package I can rename or something of the like?

Warmest regards,


I’ll add an ‘engine generator’ (i.e. script/generate engine
YourEngineName) as time permits. In the meantime, you just need to
mirror parts of the structure of a normal rails application -
controllers should go in a directory called my_engine/app/controllers,
and so on. Looking through the Engines README should make things
fairly clear - if you have an specific questions, just let me know

  • james