Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 18, 2012
  1. @richo

    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

    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. @kennyj
Commits on Mar 2, 2011
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove

    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. @tenderlove
  2. @tenderlove
Commits on Sep 29, 2010
  1. @josevalim

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

    josevalim authored
    …g everyone calls super as expected.
Commits on Sep 28, 2010
  1. @miloops
Commits on Sep 6, 2010
  1. @carlosantoniodasilva @josevalim

    Cleanup deprecations in Action Dispatch

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

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

    spastorino authored
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Jul 21, 2010
  1. @josevalim
Commits on Jun 11, 2010
  1. @dolzenko
Commits on Jun 6, 2010
  1. @jeremy
Commits on May 30, 2010
  1. @josevalim

    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. @josevalim
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. @wycats

    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. @josevalim
Commits on Jan 20, 2010
  1. @josh
Commits on Dec 29, 2009
  1. @jeremy
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. @josh
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. @josh
Something went wrong with that request. Please try again.