Hello I am a newcomer to Ruby and I am starting a new project in Ruby On Rails. I have a PHP background and used to working with bigger frameworks like Symfony2.
My question is that does Ruby on Rails use any kind of Service Container where I store all of my custom objects and manages my dependencies? From the tutorials which I watched nowhere is such principle mentioned.
Is this considered a bad practice in ROR because of how ruby's OOP is different?
Do I have to require each object and make a new sample when I ever need one?
Does Ruby not need Dependency Injection ? Is calling new
.new
on every object required a good practice in ruby ?