We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6d199e + 318ff20 commit 3cea3f8Copy full SHA for 3cea3f8
railties/lib/rails/commands/console/irb_console.rb
@@ -59,22 +59,11 @@ def execute
59
end
60
61
62
- class ReloadCommand < IRB::Command::Base
63
- category "Rails console"
64
- description "Reloads the Rails application."
65
-
66
- def execute(*)
67
- puts "Reloading..."
68
- Rails.application.reloader.reload!
69
- end
70
71
72
IRB::HelperMethod.register(:helper, ControllerHelper)
73
IRB::HelperMethod.register(:controller, ControllerInstance)
74
IRB::HelperMethod.register(:new_session, NewSession)
75
IRB::HelperMethod.register(:app, AppInstance)
76
IRB::HelperMethod.register(:reload!, ReloadHelper)
77
- IRB::Command.register(:reload!, ReloadCommand)
78
79
class IRBConsole
80
def initialize(app)
0 commit comments