Ruby on Rails: script/console reload!
Friday, September 1, 2006
Somebody just showed me this on the #rubyonrails channel over on freenode… when you make changes to your model objects, you can reload the changes inside the script/console by just doing this:
?> ?> reload! Reloading… => [Article, User, ApplicationController] >>
Rather useful, I’d say. You can also load up ruby code in an external file by using the “load” command.
September 3rd, 2007 at 2:54 pm
Thanks!
November 9th, 2007 at 12:28 am
This is most useful; thanks!
November 11th, 2009 at 10:08 pm
good post!