I'm curious how the "reload!" command is defined for script/console. I'm guessing that is is alliased to Dispatcher.reset_application! somewhere but I'm not finding it.
TIA, Joe
I'm curious how the "reload!" command is defined for script/console. I'm guessing that is is alliased to Dispatcher.reset_application! somewhere but I'm not finding it.
TIA, Joe
Never mind, I found it. in console_app.rb in railties\lib
#reloads the environment def reload! puts "Reloading..." Dispatcher.reset_application! end