Ruby on Rails
Go to file
Yehuda Katz 0adbeeb0c9 Got overhead down from 127 to 85. All tests pass:
* Tentatively replaced HeaderHash with SimpleHeaderHash, which does not preserve
    case but does handle converting Arrays to Strings in to_hash. This requires
    further discussion.
  * Moved default_charset to ActionDispatch::Response to avoid having to hop over
    to ActionController. Ideally, this would be a constant on AD::Response, but
    some tests expect to be able to change it dynamically and I didn't want to change
    them yet.
  * Completely override #initialize from Rack::Response. Previously, it was creating
    a HeaderHash, and then we were creating an entirely new one. There is no way to
    call super without incurring the overhead of creating a HeaderHash.
  * Override #write from Rack::Response. Its implementation tracks Content-Length,
    and doing so adds additional overhead that could be mooted if other middleware
    changes the body. It is more efficiently done at the top-level server.
  * Change sending_file to an instance_variable instead of header inspection. In
    general, if a state is important, it should be set as a property of the response
    not reconstructed later.
  * Set the Etag to @body instead of .body. AS::Cache.expand_cache_key handles
    Arrays fine, and it's more efficient to let it handle the body parts, since
    it is not forced to create a joined String.
  * If we detect the default cache control case, just set it, rather than setting
    the constituent parts and then running the normal (expensive) code to generate
    the string.
2009-08-11 15:03:53 -07:00
actionmailer Get rid of parenthesize argument warnings 2009-08-09 16:00:53 +01:00
actionpack Got overhead down from 127 to 85. All tests pass: 2009-08-11 15:03:53 -07:00
activemodel Extract common dirty tracking methods in AMo 2009-08-10 13:51:48 -05:00
activerecord Add tests for hm:t#push failures 2009-08-11 02:37:04 +01:00
activeresource Add support for errors in JSON format. 2009-08-09 22:40:20 -07:00
activesupport Got overhead down from 127 to 85. All tests pass: 2009-08-11 15:03:53 -07:00
ci Updates CI to use latest mocha 2009-07-01 13:50:05 -07:00
doc/template
railties find_cmd should return the full path of the db command 2009-08-10 00:04:37 -07:00
tools Rename tools/profile_requires -> tools/profile since we do both require and ruby-prof profiling. 2009-05-27 01:11:33 -05:00
.gitignore .gitignore activesupport/test/fixtures/isolation_test 2009-08-09 18:18:47 +01:00
Rakefile Vendorized Thor. 2009-07-13 23:13:48 +02:00
pushgems.rb
release.rb Use copy instead of export for release 2008-09-05 14:22:56 +02:00