This is more for experimentation - I know that I can do it with --full, but I wanted the namespacing functions in the application to avoid conflicts
The idea is to have a main application that handles authentication, common elements, admin screens, etc. Then create mechanisms to add additional features, such as
- crm
- cms
- The blog
- wiki
- forum
- etc.
These engines I can choose and choose as I need for any application that I create. Is it possible?
Can I use both the --mountable and --full options?
Experimenting - there would be some kind of problem if I used the full add rspec option and then just added
rails plugin new plugin_name --skip-test-unit --full --dummy-path=spec/dummy
and in lib \ plugin_name \ engine.rb
module PluginName class Engine < Rails::Engine
I already created both --full and -mountable engine, and finally rspec works for those who read, there are some great articles (see below), but wondered about the wider impact of this on the solution I'm trying to create
I am still playing with this and will post my findings.
Any help / discussion would be appreciated by weight.
note
- Why I want to do this - create once many times ...
- I would never want a non-tech / client to add “plugins / engines” - this is just to entertain point 1.
The problems that I have ...
- Starting the server in a top-level application. Only when accessing content from the mechanism (I see error messages) I have a routing problem (root_path is undefined or there are no routing paths) - the layout of the parent application is displayed, I can see it in the extracted source Error. Progress, but no cigars!
useful links
source share