Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #3936 (closed enhancement: duplicate)

Opened 3 years ago

Last modified 3 years ago

[RESEARCH] Easy reload

Reported by: jeremy@planetargon.com Assigned to: David
Priority: normal Milestone:
Component: Railties Version: 1.0.0
Severity: normal Keywords: irb console
Cc:

Description

Provides an easier way to reload the application from irb (r! instead of Dispatcher.reset_application!).

Attachments

easy_reload.diff (0.5 kB) - added by jeremy@planetargon.com on 02/23/06 03:05:15.
Easy reload of application from irb

Change History

02/23/06 03:05:15 changed by jeremy@planetargon.com

  • attachment easy_reload.diff added.

Easy reload of application from irb

02/23/06 05:05:40 changed by david

I like the intentions, but the implementation is too bloody. We should find a way to declare this as a macro just for script/server. Not bleeding all over Kernel.

02/23/06 05:20:25 changed by jeremy@planetargon.com

The motivation was to use it for script/console (2 friendly chars rather than 24 obscure ones).

1. How would you want to use it in script/server? 2. How could I safely pop it into script/console?

03/03/06 02:59:45 changed by david

  • status changed from new to closed.
  • resolution set to duplicate.

I liked the implementation of #4045, but essentially same ideaq.