Arthur Ariza

Joined

3,030 Experience
30 Lessons Completed
0 Questions Solved

Activity

Posted in Interface Segregation Principle Discussion

What an episode!

That was one of the best explanations of ISP that I've seen.

The ruby specific examples were Gold

Thats awesome 🙌

But I still need to do some value casting like 'Yes' to True

But using transform_keys would work if it wasn't for that, thanks a lot Chris

What is the best approach to deal with csv headers that don't match 1:1 to the model's columns?

I used Structs to build a hash, but I'm thinking on refactoring to ActiveModel::Model.

Any suggestions?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.