architecture

Rails 7.0 Branca and Caching

Organizing Code Gems and Engines have long been used to organize Ruby and Rails code into workable small units. Shopify has introduced a new system called ‘packages’ - they use the packwerk gem to help us.

Rails 7.0 Using Packages (Packwerk gem)

Organizing Code Gems and Engines have long been used to organize Ruby and Rails code into workable small units. Shopify has introduced a new system called ‘packages’ - they use the packwerk gem to help us.

Rails 7.0 - Decoupling with Events (or Commands / Service Objects)

It's possible to loosen the Coupling between Rails, Models and Controllers from your Business Logic (Commands/Service Objects) by enabling an Event architecture. Ruby has several lightweight Event Buses (& full featured and Event Stores)