Rails Organization

Episode #430 by Teacher's Avatar David Kimura

Summary

In this episode, we look at refactoring a model with a few different approaches; modules, classes and concerns. We'll explore each implementation and when I'd use one over the other.
rails organization model 19:12

Chapters

  • Introduction (0:00)
  • Concerns Approach (5:51)
  • Modules approach (8:21)
  • Classes approach (12:21)
  • Final thoughts (15:52)
  • Namespacing (17:41)
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