Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nested Rails Engines

Is it possible to embed (nest) Rails engines inside of other Rails engines?

I am working on a Rails 3.1 app that I want to split up into a couple different sections and turn each section into a Rails engines. However, I also want to be able to turn the entire app into a Rails engine.

like image 815
Jon Lemmon Avatar asked May 16 '12 22:05

Jon Lemmon


People also ask

What are engines in Rails?

1 What are Engines? Engines can be considered miniature applications that provide functionality to their host applications. A Rails application is actually just a "supercharged" engine, with the Rails::Application class inheriting a lot of its behavior from Rails::Engine .

What is Mount in Rails?

Mounting rails are constructive items in electrical engineering and mechanical engineering projects; they are used to hold devices. A mounting rail is usually attached to a mounting panel or an enclosure profile.


1 Answers

Possible, but not easy.
http://confreaks.com/videos/863-railsconf2012-railes-engines-patterns

like image 117
westonplatter Avatar answered Oct 16 '22 10:10

westonplatter