Ticket #3936: easy_reload.diff
| File easy_reload.diff, 0.5 kB (added by jeremy@planetargon.com, 3 years ago) |
|---|
-
railties/environments/development.rb
old new 17 17 18 18 # Don't care if the mailer can't send 19 19 config.action_mailer.raise_delivery_errors = false 20 21 # Provide an easy way to reload the application from irb 22 Object.const_get( 'Kernel' ).module_eval do 23 def reset!; Dispatcher.reset_application! end 24 alias_method :r!, :reset! 25 end