Question

Rails Guides say here: "Below is a comprehensive list of all the initializers found in Rails". But how can I receive such list?

I.e if I have MyApp, I want to find some method MyApp::Application.initializers (just example, not works), that returns me full used initializers list.

Was it helpful?

Solution

Ok, I find it!

It is MyApp::Application.instance.initializers

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top