Ruby on Rails Thursday, April 20, 2017

The reason I want to do this is because there are some bugs like "circular dependencies" can't be found without eager load the entire app.
Since we only eager load at production, we can only notice this kind of issues on production. So I think it would be a good idea to eager load entire app during testing and we can fix it before it gets deployed.
And I just test this idea on my app and it ran normally on CI and my mac. But I'm not sure if there any drawback to do this, like significantly slow down the tests?

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment