Application Templates

Episode #507 by Teacher's Avatar David Kimura

Summary

In this episode, we look at a metaprogramming technique combined with Rails functionality to reduce repetitive code. It's not always a great fit, but for applications or views where they share similar feels, it can help their maintainability and the development speed in setting up new functionality.
rails view metaprogramming 14:25

Chapters

  • Introduction (0:00)
  • Creating scaffolds (1:14)
  • Explaining the Application Templates (2:48)
  • Metaprogramming (4:02)
  • Creating the view (6:07)
  • Demo (8:56)
  • Rendering a table (9:38)
  • Final Thoughts (12:22)
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