|
|
|
|
|
by hbien
1471 days ago
|
|
The author linked to this article to explain it: https://medium.com/@dan_manges/the-modular-monolith-rails-ar... ---- From the article: We don’t have an app/ directory in our Rails project. All of our code is either in gems/ or engines/. Gems contain Ruby code that does not depend on Rails. We use ActiveSupport, but we do not use ActiveRecord or ActionPack. The gems are all stateless. Engines contain Ruby code that does depend on Rails. Persistence happens at this layer through ActiveRecord. API and Web interfaces are exposed at this layer through ActionPack. |
|