I’m posting this more as a personal reminder than anything else – so go elsewhere if you’re looking for true wisdom:
How to reload my controllers and model while running in Rails’ handy script/console utility:
reload!
or
Dispatcher.reset_application!
The differences between the two I do not yet know (and now I do – thanks to Curt’s comment – reload! just calls Dispatcher.reset_application!)
- courtenay: script/console reload models
- RailsWiki: Console
- Stuart: The Rails Console
- console source (thanks, Curt)
tags: rubyonrails,rails
