DEV Community

loading...

Discussion on: Replace A Rails Initializer

Collapse
pjmartorell profile image
Pere Joan Martorell

what is the motivation of doing so? I don't see a clear advantage.

Collapse
st0012 profile image
Stan Lo Author • Edited

Hi thanks for the comment! I have just updated post intro accordingly!

My use case was to benchmark our app's route generation, so I had to replace the initializer to insert some benchmark logic.

But this post is not encouraging people to do so, just to provide a way to those who need to do it. Because it took me a while to do it right 😬

Forem Open with the Forem app