Never mind, I found it. in console_app.rb in railties\lib
#reloads the environment
def reload!
puts "Reloading..."
Dispatcher.reset_application!
end
On Feb 14, 10:26 pm, "Joe at CodeGear"
<jmcgl...-T8eQWhSUU4BWk0Htik3J/w@public.gmane.org>
wrote:> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---