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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/76fe127b-c8c3-4a43-8b3c-d6517e808897%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to