I am wondering if there is any relatively easy way to speed up my console load time, which is starting to approach 30 seconds. I have a lot of subclasses whose methods don\
Reload! has been an issue for some time now. Have a look at this. There are some patches which you could use and some tips on how you maybe able to get around your issue.
The reload method itself looks like this.
# reloads the environment
def reload!(print=true)
puts "Reloading..." if print
ActionDispatch::Callbacks.new(lambda {}, false).call({})
true
end
You could always add you environment to this method to override it function and force the reload you require.
This has worked for me so let us know if it works for you. All the best.