DHH explains that there's nothing wrong with a bit a magic.

It’s always better to be explicit! That’s pretty much a programming truism. Rarely directly challenged, lest one betray the foundational tenors of Proper Programming. But challenge it we should, and head on.

https://m.signalvnoise.com/programming-with-a-love-of-the-implicit-66629bb81ee7