diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-03-11 20:46:21 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-03-15 17:03:22 +0100 |
commit | 9b5c0850778207998a5cb8e5fe5bde6599af81d5 (patch) | |
tree | 745977fc5b6975621b6517ecbe5fe4cc74e47d76 /railties/README.rdoc | |
parent | 5558bb0d65b1bd9ad6aa0bd5a074c21d651248b3 (diff) | |
download | rails-9b5c0850778207998a5cb8e5fe5bde6599af81d5.tar.gz rails-9b5c0850778207998a5cb8e5fe5bde6599af81d5.tar.bz2 rails-9b5c0850778207998a5cb8e5fe5bde6599af81d5.zip |
config.ru uses the effective Rack app
We used to pass the Rails::Application subclass to #run.
The Rails server then called #to_app to convert that class to the
actual Rack application.
if you surround `#run` with a call to `#map` the server no longer
convertes the class to the instance and we end up with unnecessary
delegation calls on every request.
Diffstat (limited to 'railties/README.rdoc')
0 files changed, 0 insertions, 0 deletions