Upgrade to Rails 2.2.0
As a side benefit, fix an (non-user-visible) bug in display_s5(). Also fixed a bug where removing orphaned pages did not expire cached summary pages.
This commit is contained in:
parent
39348c65c2
commit
7600aef48b
827 changed files with 123652 additions and 11027 deletions
4
vendor/rails/railties/lib/fcgi_handler.rb
vendored
4
vendor/rails/railties/lib/fcgi_handler.rb
vendored
|
@ -18,7 +18,6 @@ class RailsFCGIHandler
|
|||
attr_accessor :log_file_path
|
||||
attr_accessor :gc_request_period
|
||||
|
||||
|
||||
# Initialize and run the FastCGI instance, passing arguments through to new.
|
||||
def self.process!(*args, &block)
|
||||
new(*args, &block).process!
|
||||
|
@ -68,7 +67,6 @@ class RailsFCGIHandler
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
protected
|
||||
def process_each_request(provider)
|
||||
cgi = nil
|
||||
|
@ -197,7 +195,7 @@ class RailsFCGIHandler
|
|||
# close resources as they won't be closed by
|
||||
# the OS when using exec
|
||||
logger.close rescue nil
|
||||
RAILS_DEFAULT_LOGGER.close rescue nil
|
||||
Rails.logger.close rescue nil
|
||||
|
||||
exec(command_line)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue