In production (and in development, with environment config set to
“config.cache_classes = true”), sometimes the wrong object is
associated with the wrong object because of caching.
I’d rather, however, not take a performance hit by turning caching
completely off.
Is there a way to force a class to reload? I’ve tried using “reload”
and “clear_reloadable_connections!()” …but perhaps I’m not using
them correctly.
Thanks!
Stephen