Complex Ruby transformations made simple with dry-transformer | Hanami Mastery - Episode #006

preview_player
Показать описание
There is often a need to transform one data input into another. Whether you want to import or export CSVs, communicate with external services, or parse markdown files, You often need to parse the input and produce the expected output. In this episode of Hanami Mastery, I'm presenting a neat way to do so in Ruby using 'dry-transformer'

Sponsored:

00:00 Intro
00:09 Background & Context
00:43 Problems with transforming hashes in Ruby
03:50 dry-transformer
04:27 Real use cases for data transformations
05:45 Transforming data in Ruby with dry-transformer
06:19 Summary: dry-transformer
06:59 🌯-up
07:22 Thank you!

---
You are amazing! :)

Contact Me: See below for social links

---

If you really enjoy my content, you're welcome to support me, this Channel, and the whole HanamiMastery initiative by sponsoring on Github or sending a small donation.

10% of all profits related to this channel I get in any way is directly transferred to support Hanami's development.

If you really enjoy my content, you're welcome to support me, this Channel, and the whole HanamiMastery initiative by sponsoring on Github or sending a small donation.

10% of all profits related to this channel I get in any way is directly transferred to support Hanami's development.

If you wish, you can also support me with crypto:

BTC: 3BSBYzhABCLSynb72VZDM9tvxjzuCqNbd4
ETH: 0x059597040F72e23715fe79b8485906B600caE2Df

---

Never miss a new episode by subscribing to our Newsletter:
Рекомендации по теме
Комментарии
Автор

Love how you provide context and use cases for the application of the gems along with multiple examples, all in a short and focused format! I hope you continue covering the dry-rb family of tools. Cheers!

andreinla