Horje

Ruby on Rails - Rails -Engines
Start
  Famous examples are

Generating simple blog engine

rails plugin new [engine name] --mountable

Famous engines examples are

Device (opens new window) (authentication gem for rails)

Spree (opens new window) (Ecommerce)

Syntax

  • rails plugin new [engine name] --mountable

Parameters

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

Remarks

Engines are very good options for creating reusable plugin for rails application


Read Article
https://develop.horje.com/learn/1434/reference