1. 03 9月, 2008 2 次提交
    • J
      Don't set Content-Length on 304 responses · 6cfb7002
      Jonathan del Strother 提交于
      Commit 8aad8c claimed to do this, but it checks for the 304 status too early, before handle_conditional_get! has overridden it.
      
      [#958 state:resolved]
      Signed-off-by: NJonathan del Strother <jon.delStrother@bestbefore.tv>
      Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
      6cfb7002
    • J
      Database connections are now pooled, one pool per #establish_connection call. · 6f932b47
      Jeremy Kemper 提交于
      Pools start out empty and grow as necessary to a maximum size (default is 5,
      configure size with key 'pool' in your database configuration). If no
      connections are available, a thread will wait up to a 'wait_timeout' time
      (default is 5 seconds).
      
      Connections are verified and reset when checked out from the pool (usually
      upon first access to ActiveRecord::Base.connection), and returned back to the
      pool after each request.
      
      If you would like to use connection pools outside of ActionPack, there is an
      ActiveRecord::Base.connection_pool method that gives you access to the pool,
      and you can manually checkout/checkin connections, or supply a block to
      ActiveRecord::Base.connection_pool.with_connection which takes care of the
      checkout/checkin for you.
      
      [#936 state:resolved]
      6f932b47
  2. 02 9月, 2008 1 次提交
  3. 01 9月, 2008 5 次提交
  4. 31 8月, 2008 14 次提交
  5. 30 8月, 2008 18 次提交