How to handle complex business logic data in a Ruby on Rails application

preview_player
Показать описание
A look better handling of complex business data in a Ruby on Rails application using Struct and interactor classes.

Source code link (must be a Patreon member to access):

Tip me in BTC! Bitcoin Address: 13FKUusPH1UPvgSkoQRRy6hEg4hyMqKzLS

0:00 Overview of program objectives
3:34 Legacy functionality walkthrough
5:06 Verbalize interactor gem - legacy
5:27 Working with raw SQL in Rails - legacy
5:55 Rails controller messy code - legacy
6:35 Frontend templates messy code - legacy
8:25 Refactored code walkthrough
9:11 Rails routes scope vs namespace - new
9:32 Slim controllers - new
10:15 Better use of class inheritance - new
11:55 Struct is better than Hash - new
14:57 Frontend templates refactored - new
18:00 Pros and cons of the newly refactored code

Outtro Music:
Carl Casey White Bat Audio - Nightmare City
Рекомендации по теме