Skip to content
This repository

May 07, 2012

  1. Kunal Shah

    If content_type is explicitly passed to the :head method use the valu…

    …e or fallback

May 04, 2012

  1. Nick Ragaz

    Add a role option to wrap_parameters.

    The role option identifies which parameters are accessible and should be wrapped. The default role is :default.
    nragaz authored

Apr 30, 2012

  1. Will Bryant

    fix the Flash middleware loading the session on every request (very d…

    …angerous especially with Rack::Cache), it should only be loaded when the flash method is called
    willbryant authored drogus committed
  2. Andrew White

    Add note about using 303 See Other for XHR requests other than GET/POST

    IE since version 6 and recently Chrome and Firefox have started following
    302 redirects from XHR requests other than GET/POST using the original request
    method. This can lead to DELETE requests being redirected amongst other things.
    
    Although it doesn't directly affect the Rails framework since it doesn't return
    a 302 redirect to any non-GET/POST request a note has been added to raise
    awareness of the issue. Some references:
    
    Original article from @technoweenie:
    http://techno-weenie.net/2011/8/19/ie9-deletes-stuff/
    
    Hacker News discussion of the article:
    http://news.ycombinator.com/item?id=2903493
    
    WebKit bug report:
    https://bugs.webkit.org/show_bug.cgi?id=46183
    
    Firefox bug report and changeset:
    https://bugzilla.mozilla.org/show_bug.cgi?id=598304
    https://hg.mozilla.org/mozilla-central/rev/9525d7e2d20d
    
    Chrome bug report:
    http://code.google.com/p/chromium/issues/detail?id=56373
    
    HTTPbis bug report and changeset:
    http://trac.tools.ietf.org/wg/httpbis/trac/ticket/160
    http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1428
    
    Roy T. Fielding's history of the issue:
    http://ftp.ics.uci.edu/pub/ietf/http/hypermail/1997q3/0611.html
    
    Automated browser tests for the issue:
    http://www.mnot.net/javascript/xmlhttprequest/
    
    Fixes #4144
    (cherry picked from commit 24f1437)
    pixeltrix authored

Apr 29, 2012

  1. Andrew White

    Don't convert params if the request isn't HTML - fixes #5341

    (cherry picked from commit 7a80b69)
    
    Conflicts:
    
    	actionpack/test/controller/test_test.rb
    pixeltrix authored

Mar 20, 2012

  1. David Heinemeier Hansson

    We dont need to merge in the parameters as thats all being reset by t…

    …he rack headers (and its causing problems for Strong Parameters attempt of wrapping request.parameters because it will change in testing)
    dhh authored

Mar 15, 2012

  1. Aaron Patterson

    Merge pull request #5456 from brianmario/redirect-sanitization

    Strip null bytes from Location header
    tenderlove authored
  2. Piotr Sarnacki

    Remove ActionController::TestCase#rescue_action_in_public!

    This method has no effect since exception handling was
    moved to middlewares and ActionController tests do not
    use any middlewares.
    drogus authored

Mar 07, 2012

  1. José Valim

    Remove usage of deprecated module.

    josevalim authored
  2. José Valim

    Set the rendered_format on respond_to.

    josevalim authored

Mar 06, 2012

  1. Santiago Pastorino

    Deprecate ActionController::SessionManagement

    spastorino authored
  2. Prem Sichanugrist

    Always passing a respond block from to responder

    We should let the responder to decide what to do with the given
    overridden response block, and not short circuit it.
    
    Fixes #5280
    sikachu authored

Feb 22, 2012

  1. Santiago Pastorino

    format lookup for partials is derived from the format in which the te…

    …mplate is being rendered
    
    Closes #5025 part 2
    spastorino authored

Feb 20, 2012

  1. Aaron Patterson

    search private / protected methods in trunk ruby

    tenderlove authored

Feb 14, 2012

  1. Santiago Pastorino

    Rack body respond to each and not to join

    This fixes undef `to_str' for Rack::Chunked::Body when using
    caches_action + streaming on an action
    
    Closes #5027
    spastorino authored

Feb 06, 2012

  1. Ryan McGeary

    Fixed force_ssl redirects to include original query params

    `ActionController.force_ssl` redirects http URLs to their https equivalent;
    however, when a URL contains a query string, the resulting redirect lacked the
    original query string.
    rmm5t authored

Feb 04, 2012

  1. José Valim

    Clean up a bit default_response handling and cache format negotiation.

    josevalim authored

Feb 03, 2012

  1. Prem Sichanugrist

    Fix override API response bug in respond_with

    Default responder was only using the given respond block when user
    requested for HTML format, or JSON/XML format with valid resource. This
    fix the responder so that it will use the given block regardless of the
    validity of the resource. Note that in this case you'll have to check
    for object's validity by yourself in the controller.
    
    Fixes #4796
    sikachu authored

Jan 25, 2012

  1. Damian Le Nouaille

    example bracket error

    damln authored vijaydev committed

Jan 19, 2012

  1. José Valim

    Do not deprecate performed?

    josevalim authored

Jan 17, 2012

  1. Carlos Antonio da Silva

    Remove duplicated constant definition

    ActionController::ActionControllerError is already defined in
    action_controller/metal/exceptions.
  2. Carlos Antonio da Silva

    Deprecate AC::UnknownError and AC::DoubleRenderError

    Use the constants AbstractController::ActionNotFound and
    AbstractController::DoubleRenderError respectively instead.
  3. Carlos Antonio da Silva

    Deprecate default_charset= at controller level

  4. Carlos Antonio da Silva

    Add some deprecations for logic being removed in 4.0

Jan 11, 2012

  1. Alexey Trofimenko

    Made an example a little more realistic

    codesnik authored vijaydev committed

Jan 10, 2012

  1. Santiago Pastorino

    Rails initialization with initialize_on_precompile = false should set…

    … assets_dir
    spastorino authored
  2. Piotr Sarnacki

    Fix http digest authentication with trailing '/' or '?' (fixes #4038

    …and #3228)
    drogus authored

Jan 02, 2012

  1. Sergey Nartimov

    fix base64 requires

    lest authored
  2. Sergey Nartimov

    deprecate ActiveSupport::Base64

    extend and define ::Base64 if needed
    lest authored

Dec 24, 2011

  1. José Valim

    Remove unecessary config_accessors.

    josevalim authored
  2. José Valim

    Provide a class optin for page_cache_compression.

    josevalim authored
  3. Andrey Sitnik

    Gzip files on page caching

    Signed-off-by: José Valim <jose.valim@gmail.com>
    ai authored josevalim committed

Dec 16, 2011

  1. Vijay Dev

    Merge branch 'master' of github.com:lifo/docrails

    vijaydev authored
  2. José Valim

    Show detailed exceptions no longer returns true if the request is loc…

    …al in production.
    josevalim authored

Dec 15, 2011

  1. José Valim

    Fix diagnostics page for routing errors.

    josevalim authored
Something went wrong with that request. Please try again.