Dependency Injection in Ruby 🌈

I once wrote an article on Medium about dependency injection - Dependency Injection is not Scary!. Recently joined dev.to, I thought I'd bring my thoughts here as well.Okay Eli, I know how to dependency inject now thanks to the medium article. BUT WHEN DO USE IT?Bear with me here, I'll get to that soon. Currently building an inbox feature, I needed a form object for creating the conversation AND responding/editing the conversation.
Dependency Injection in Ruby 🌈 #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles