I have some forms that I would like to be able to drive using
Class.subclasses. Naturally, this method only returns sensible results once the subclasses have been loaded, so I’ve set
config.eager_load = true in my
development.rb file to ensure that all of my code is loaded at application startup.
So as to not completely disrupt the “normal” development workflow,
I can confirm that the file is being loaded at application startup, but the class has been undefined by the time the request calls
I feel like I’m missing something obvious here…