Upgrade to Rails 2.0.2
Upgraded to Rails 2.0.2, except that we maintain vendor/rails/actionpack/lib/action_controller/routing.rb from Rail 1.2.6 (at least for now), so that Routes don't change. We still get to enjoy Rails's many new features. Also fixed a bug in Chunk-handling: disable WikiWord processing in tags (for real this time).
This commit is contained in:
parent
0f6889e09f
commit
6873fc8026
1083 changed files with 52810 additions and 41058 deletions
7
vendor/rails/railties/lib/console_app.rb
vendored
7
vendor/rails/railties/lib/console_app.rb
vendored
|
@ -1,7 +1,7 @@
|
|||
require 'action_controller/integration'
|
||||
|
||||
# work around the at_exit hook in test/unit, which kills IRB
|
||||
Test::Unit.run = true
|
||||
Test::Unit.run = true if Test::Unit.respond_to?(:run=)
|
||||
|
||||
# reference the global "app" instance, created on demand. To recreate the
|
||||
# instance, pass a non-false value as the parameter.
|
||||
|
@ -23,5 +23,8 @@ end
|
|||
#reloads the environment
|
||||
def reload!
|
||||
puts "Reloading..."
|
||||
Dispatcher.reset_application!
|
||||
dispatcher = ActionController::Dispatcher.new($stdout)
|
||||
dispatcher.cleanup_application(true)
|
||||
dispatcher.prepare_application(true)
|
||||
true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue