Forum: Ruby on Rails console doesn't reload app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
10c741d575988433e3fcd04133f3c462?d=identicon&s=25 Sebastian Friedrich (Guest)
on 2006-03-01 23:07
(Received via mailing list)
When using scripts/console, changes made to any classes/methods in my
application files do not reflect in the console until i restart it. I
verified that RAILS_ENV is indeed set to development. Isn't that
supposed to reload the app on every call? is the console different?

Thanks,
Sebastian
B4a2efd7a6fe92e04486b9b7ba2eca10?d=identicon&s=25 TDC (Guest)
on 2006-03-03 12:26
Indeed, I'm having the same problem...
Maybe there is a command so we could force it to reload?
B4a2efd7a6fe92e04486b9b7ba2eca10?d=identicon&s=25 TDC (Guest)
on 2006-03-03 12:33
TDC wrote:
> Indeed, I'm having the same problem...
> Maybe there is a command so we could force it to reload?

Hmm, found the command :)

Dispatcher.reset_application!
This topic is locked and can not be replied to.