Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 18, 2012
  1. Richo Healey

    Add the #unshift method to the middleware stack

    richo authored
    The docs suggest that the middleware stack is an Array, so I've added
    the unshift method to it. Originally I added some more Array methods,
    but it was agreed that they lacked usecases.
Commits on Apr 20, 2012
  1. Jeremy Kemper

    Freeze the middleware stack after it's built

    jeremy authored
    So apps that accidentally add middlewares later aren't unwittingly dumping them in a black hole.
    
    Closes #5911
Commits on Feb 4, 2012
  1. Toshinori Kajihara
Commits on Mar 2, 2011
  1. Aaron Patterson
  2. Aaron Patterson
  3. Aaron Patterson

    refactor Reference to a ClassCache object, fix lazy lookup in Middlew…

    tenderlove authored
    …are so that anonymous classes are supported
Commits on Mar 1, 2011
  1. Aaron Patterson
  2. Aaron Patterson
Commits on Sep 29, 2010
  1. José Valim

    Avoid (@_var ||= nil) pattern by using initialize methods and ensurin…

    josevalim authored
    …g everyone calls super as expected.
Commits on Sep 28, 2010
  1. Emilio Tagua
Commits on Sep 6, 2010
  1. Carlos Antonio da Silva José Valim

    Cleanup deprecations in Action Dispatch

    carlosantoniodasilva authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Sep 3, 2010
  1. Piotr Sarnacki
Commits on Aug 14, 2010
  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    spastorino authored
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Jul 21, 2010
  1. José Valim
Commits on Jun 11, 2010
  1. Ev Dolzhenko
Commits on Jun 6, 2010
  1. Jeremy Kemper
Commits on May 30, 2010
  1. José Valim

    Add :only and :except to controllers MiddlewareStack. This allows

    josevalim authored
    you to do the following:
    
      class PostsController < ApplicationController
        use AutheMiddleware, :except => [:index, :show]
      end
Commits on May 29, 2010
  1. José Valim
Commits on Mar 9, 2010
  1. Simplify the action endpoint:

    Carlhuda authored
      * Remove ActionEndpoint in favor of passing a block to MiddlewareStack
      * Always create a Request; the performance win of RackDelegation is around
        the response; the Request object hit is limited to a single object allocation
      * #dispatch takes a Request
Commits on Mar 7, 2010
  1. Yehuda Katz

    Make many parts of Rails lazy. In order to facilitate this,

    wycats authored
    add lazy_load_hooks.rb, which allows us to declare code that
    should be run at some later time. For instance, this allows
    us to defer requiring ActiveRecord::Base at boot time purely
    to apply configuration. Instead, we register a hook that should
    apply configuration once ActiveRecord::Base is loaded.
    
    With these changes, brings down total boot time of a
    new app to 300ms in production and 400ms in dev.
    
    TODO: rename base_hook
Commits on Jan 25, 2010
  1. José Valim
Commits on Jan 20, 2010
  1. Joshua Peek
Commits on Dec 29, 2009
  1. Jeremy Kemper
Commits on Nov 7, 2009
  1. Break up inflector to reduce the dependency burden on dependency-les …

    Yehuda Katz authored
    …methods like constantize.
Commits on Aug 26, 2009
  1. Rework Middleware stack to match the Rack middleware protocol more cl…

    Yehuda Katz + Carl Lerche authored
    …osely
Commits on May 12, 2009
  1. Merge branch 'master' into wip_abstract_controller

    Yehuda Katz + Carl Lerche authored
    Conflicts:
    	actionpack/lib/action_controller/abstract/callbacks.rb
    	actionpack/lib/action_controller/abstract/renderer.rb
    	actionpack/lib/action_controller/base/base.rb
    	actionpack/lib/action_controller/dispatch/dispatcher.rb
    	actionpack/lib/action_controller/routing/route_set.rb
    	actionpack/lib/action_controller/testing/process.rb
    	actionpack/test/abstract_controller/layouts_test.rb
    	actionpack/test/controller/filters_test.rb
    	actionpack/test/controller/helper_test.rb
    	actionpack/test/controller/render_test.rb
    	actionpack/test/new_base/test_helper.rb
Commits on May 3, 2009
  1. Joshua Peek
Commits on May 2, 2009
  1. Renamed Base2 to Base and don't require old action_controller for new…

    Yehuda Katz + Carl Lerche authored
    … Base
Commits on Apr 14, 2009
  1. Joshua Peek
Something went wrong with that request. Please try again.