I want to use the new modularity perspectives offered by the architecture changes in rails 3. However, instead of just mounting the engine, as in most examples ...
Rails.application.routes.draw do match "/blog" => Rack::Blog end
... I would like to install several versions of the same engines and configure these instances independently of each other. Something like lines ...
Rails.application.routes.draw do match "/news" => Blog.new("path/to/blog_1/config") match "/blog" => Blog.new("path/to/blog_2/config") end
Is such a feature useful? Has anyone implemented something like this?
Thanks fturtle
source share