Slim down hefty Rails controllers AND models, using domain model events (video and guide)

If you've done much Rails coding, you've probably heard the guideline: “skinny controller, fat model”. But achieving this can be easier said than done. Especially when your controllers are bloated with HTTP-centric responsibilities, such as websocket notifications, that don't really seem to belong in your domain model objects either.
Slim down hefty Rails controllers AND models, using domain model events (video and guide) #ruby #rubydeveloper #rubyonrails #guide) https://rubyonrails.ba/single/slim-down-hefty-rails-controllers-and-models-using-domain-model-events-video-and-guide

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles