Fork from Julián Pinzón Eslava's demo on modularizing large Ruby on Rails apps using engines.
It also uses automatic_namespaces in attempt to reduce the amount of nested folders, eg.
- packages/teacher_app/app/controllers/teacher_app/home_controller.rb
+ packages/teacher_app/app/controllers/home_controller.rb
In this demo StudentApp depends on TeacherApp so it can easily look up courses.
We are avoiding circular dependency on Teacher confirming a student on a course
by dispatching a notification using ActiveSupport::Notifications
.
rake db:create db:migrate
rails s
$ packs check
$ packs validate