Extracting Logic into a Gem

Episode #525 by Teacher's Avatar David Kimura

Summary

In this episode, we look at some of the hurdles when extracting business logic out of an application into a gem.
rails gem llm 15:54

Chapters

  • Introduction (0:00)
  • Review of what was created previously (2:02)
  • Adding dependencies (4:22)
  • Working on the migration (5:06)
  • Moving over the business logic (6:33)
  • Adding the configuration (7:33)
  • Testing the extraction (10:48)
  • Creating a view (12:13)
  • Final thoughts (15:26)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams