Does dependency injection exist in Rails?

dependency-injection, ruby, ruby-on-rails, spring

Solution

Dependency injection is usually unnecessary with Ruby. Jamis Buck blogged extensively about the reasons why. Well worth a read.

Problem

Does the fact that Rails have an MVC approach mean that is has dependency injection? Or is there a reason that we don't talk about dependency injection in Rails? If Rails does have dependency injection, what does it consist of?

Original source

Related problems