Engines are very good options for creating reusable plugin for rails application
rails plugin new [engine name] --mountable
Parameters | Purpose |
---|---|
--mountable | option tells the generator that you want to create a "mountable" and namespace-isolated engine |
--full | option tells the generator that you want to create an engine, including a skeleton structure |