Ruby Tutorial | Using Forwardable to Clean Up Our View Components

4 years ago
3

Forwardable is part of the Ruby standard library. It's a really nice tool that helps us to delegate behavior to other objects in a single line of code.

This Ruby tutorial will walk through implementing Forwardable in the view components we just created for our simple project management Ruby on Rails app.

This episode is part of a larger series. If you want to stay up to date, subscribe to our channel and check us out at https://www.techmaker.tv

👊 Helpful Links 👊

💥 Building a Simple Project Management App from Scratch (Part 1): https://youtu.be/u2o_new-T0o

💻 Codebase: https://github.com/StephenFiser/simple-pm/tree/view_components

📕 Highly Recommended Book: "The Well Grounded Rubyist" - https://amzn.to/2YnCaSY

Get much more content like this at https://www.techmaker.tv.

📕 Free E-book:
*Power Portfolio* - How to stand out... even if you're just getting started: https://bit.ly/2ylvdcb

✨Other Techmaker Series ✨

Exploring ActionCable: https://www.youtube.com/playlist?list=PLjItgYqIzJ9UIxMpofd8wi2GHqxvaGrMC

Building a Link Shortener with Rails 6: https://www.youtube.com/playlist?list=PLjItgYqIzJ9WGy9WMf-44DXHB_7aWwJMc

Building a Stock Market Tracker with React JS: https://www.youtube.com/playlist?list=PLjItgYqIzJ9VOBgwZ82D9kjQ_QtM5R4u5

Loading comments...