Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 5, 2011
  1. @tenderlove

    Merge branch '3-0-6' into 3-0-stable

    tenderlove authored
    * 3-0-6:
      bumping version to 3.0.6
      updating CHANGELOG
      updating CHANGELOG for actionpack
      do not return html safe strings from auto_link
      bumping to 3.0.6.rc2
      Support both conventions for translations for namespaced models.
      Added back the use of the Reflection module's cached sanitized_conditions in an AssociationProxy. This was recently removed and when a has_one association with conditions is eager loaded the conditions would be sanitized once for every result row, causing a database hit to fetch the columns.
      Bring back i18n_key to avoid regression
      Revert "Improve testing of cookies in functional tests:"
      bumping version to 3.0.6.rc1
      updating AR changelog
Commits on Mar 29, 2011
  1. @tenderlove
  2. @josevalim
Commits on Mar 6, 2011
  1. @pixeltrix

    Improve testing of cookies in functional tests:

    pixeltrix authored
    - cookies can be set using string or symbol keys
    - cookies are preserved across calls to get, post, etc.
    - cookie names and values are escaped
    - cookies can be cleared using @request.cookies.clear
    
    [#6272 state:resolved]
Commits on Mar 2, 2011
  1. @chuyeow @spastorino

    Fix Action caching bug where an action that has a non-cacheable respo…

    chuyeow authored spastorino committed
    …nse always renders a nil response body. It now correctly renders the response body.
    
    Note that only GET and HTTP 200 responses can be cached.
    
    [#6480 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Feb 22, 2011
  1. @NZKoz

    Prepend the CSRF filter to make it much more difficult to execute app…

    NZKoz authored
    …lication code before it fires.
Commits on Jan 31, 2011
  1. @NZKoz

    Change the CSRF whitelisting to only apply to get requests

    NZKoz authored
    Unfortunately the previous method of browser detection and XHR whitelisting is unable to prevent requests issued from some Flash animations and Java applets.  To ease the work required to include the CSRF token in ajax requests rails now supports providing the token in a custom http header:
    
     X-CSRF-Token: ...
    
    This fixes CVE-2011-0447
  2. @josevalim @NZKoz

    Use Mime::Type references.

    josevalim authored NZKoz committed
Commits on Dec 9, 2010
  1. @neerajdotname @josevalim

    Ensure that while caching a page rails takes into

    neerajdotname authored josevalim committed
    account the resolved mime type for the request
    
    This is a port of fix on master to 3-0-stable
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Dec 8, 2010
  1. @fxn
  2. @neerajdotname @fxn

    Add to documentation that action caching does

    neerajdotname authored fxn committed
    handle HTTP_ACCEPT attribute properly and might
    provide wrong result. Use params[:format] to
    avoid this issue.
Commits on Nov 27, 2010
  1. @radar @fxn

    Add explicit statement that verify_authenticity_token can be turned o…

    radar authored fxn committed
    …ff for actions.
Commits on Nov 24, 2010
  1. @neerajdotname @josevalim

    If a user wants json output then try best to render json output. In s…

    neerajdotname authored josevalim committed
    …uch cases prefer kind_of(String) over respond_to?(to_str)
    
    [#5841 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Nov 7, 2010
  1. @chriseppstein @spastorino

    Correctly handle the case of an API response that returns a hash by t…

    chriseppstein authored spastorino committed
    …reating a single hash argument as the resource instead of as options.
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Oct 18, 2010
  1. @pixeltrix
Commits on Oct 11, 2010
  1. @szimek @josevalim

    Return a valid empty JSON on successful PUT and DELETE requests. [#5199

    szimek authored josevalim committed
    … state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Oct 10, 2010
  1. @wycats
Commits on Sep 27, 2010
  1. @dcrec1 @josevalim

    renderer calls object.to_json when rendering :json => object [#5655 s…

    dcrec1 authored josevalim committed
    …tate:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Sep 24, 2010
  1. @miloops @spastorino

    Refactor decode_credentials to avoid inject and use map instead.

    miloops authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  2. @miloops @spastorino

    Refactor methods in html node to avoid injects.

    miloops authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Sep 12, 2010
  1. @mikel

    Backport of: added block arguments to ActionController::Metal#use

    mikel authored
    Commit: f0dbcc7a692bc375e3e52a9661af4037392ee52f
    Useful for cases such as warden, where a block configuration is taken.
    
        class SomeController < ApplicationController
          use RailsWarden::Manager do |manager|
            manager.default_strategies :facebook_oauth
            manager.failure_app = SomeController.action(:authorize)
          end
        end
Commits on Sep 9, 2010
  1. @mikel
Commits on Sep 1, 2010
  1. @tchandy @josevalim

    Use join instead of looping and calling to_s [#5492 state:resolved]

    tchandy authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Aug 26, 2010
  1. @josevalim
Commits on Aug 25, 2010
  1. @tilsammans @fxn

    Restored top-level documentation for ActionController::Base.

    tilsammans authored fxn committed
    This information was lost in commit bd6b61b.
    This might have been intentional, but this class does represent the starting
    point for all things related to actions, and as such should document it.
    
    I couldn't find any trace of this documentation, which seems like a waste.
    Updated parts here and there to conform to current best practices.
Commits on Aug 24, 2010
  1. @pixeltrix @josevalim

    Reset symbolized path parameters when a test request is recycled [#5437

    pixeltrix authored josevalim committed
    … state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Aug 19, 2010
  1. @josevalim
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 Aug 4, 2010
  1. @wycats
Commits on Aug 3, 2010
  1. @wycats
  2. @wycats
  3. @wycats
  4. @wycats

    Even though exempt_from_layout is no longer needed, some people are s…

    wycats authored
    …till using it. Deprecate it instead of removing.
Commits on Jul 30, 2010
  1. @rohit
Commits on Jul 26, 2010
  1. @wincent

    doc: cleanup respond_to documentation

    wincent authored
    Signed-off-by: Wincent Colaiuta <win@wincent.com>
Something went wrong with that request. Please try again.