instance method
reload!
Ruby on Rails 3.0.20
Since v2.2.3 Last seen in v3.1.12Signature
reload!(print=true)
reloads the environment
Parameters
-
printopt = true
Source
# File railties/lib/rails/console/app.rb, line 27
def reload!(print=true)
puts "Reloading..." if print
# This triggers the to_prepare callbacks
ActionDispatch::Callbacks.new(Proc.new {}, false).call({})
true
end
Defined in railties/lib/rails/console/app.rb line 27
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Object