Skip to content
Commits on May 6, 2012
  1. @vijaydev

    doc edits [ci skip]

    vijaydev committed
  2. @vijaydev

    Merge pull request #5924 from cjolly/signed-cookies-docs

    vijaydev committed
    Improve signed cookies documentation
Commits on May 4, 2012
  1. @tenderlove
Commits on May 1, 2012
  1. @vijaydev
Commits on Apr 30, 2012
  1. @josevalim

    Merge pull request #6082 from brainopia/smarter_cookie_jar

    josevalim committed
    Stream cookies only if needed
  2. @josevalim

    Merge pull request #6083 from brainopia/remove_unused_closed_ivars

    josevalim committed
    Remove a couple of unused ivars left from previous refactoring
  3. @brainopia
  4. @brainopia
  5. @brainopia
  6. @brainopia
  7. @brainopia

    Remove unused ivars left from close checks

    brainopia committed
    These ivars were missed in d142572 when close checks were removed
Commits on Apr 29, 2012
  1. @mark-rushakoff

    Remove unused assignments

    mark-rushakoff committed
Commits on Apr 28, 2012
  1. @mark-rushakoff
Commits on Apr 21, 2012
  1. @cjolly
Commits on Apr 1, 2012
  1. Useless/Confusing method definition removed

    hardi committed
Commits on Jan 23, 2012
  1. @pda

    ActionDispatch::Cookies::CookieJar#deleted? predicate method.

    pda committed
    Necessary in controller tests to determine if the CookieJar will delete
    the given cookie.
Commits on Dec 16, 2011
  1. @josevalim
Commits on Nov 23, 2011
  1. @lest
Commits on Oct 18, 2011
  1. @avakhov
Commits on Sep 1, 2011
  1. @tenderlove
Commits on Jun 30, 2011
  1. @josevalim
Commits on Jun 5, 2011
  1. @pixeltrix

    Add backward compatibility for testing cookies

    pixeltrix committed
    This commit restores the ability to assign cookies for testing via
    @request.env['HTTP_COOKIE'] and @request.cookies, e.g:
        @request.env['HTTP_COOKIE'] = 'user_name=david'
        get :index
        assert_equal 'david', cookies[:user_name]
        @request.cookies[:user_name] = 'david'
        get :index
        assert_equal 'david', cookies[:user_name]
    Assigning via cookies[] is the preferred method and will take precedence
    over the other two methods. This is so that cookies set in controller
    actions have precedence and are carried over between calls to get, post, etc.
  2. @pixeltrix
Commits on Jun 4, 2011
  1. @pixeltrix

    Refactor ActionController::TestCase cookies

    pixeltrix committed
    Assigning cookies for test cases should now use cookies[], e.g:
      cookies[:email] = ''
      get :index
      assert_equal '', cookies[:email]
    To clear the cookies, use clear, e.g:
      get :index
      assert_nil cookies[:email]
    We now no longer write out HTTP_COOKIE and the cookie jar is
    persistent between requests so if you need to manipulate the environment
    for your test you need to do it before the cookie jar is created.
Commits on May 25, 2011
  1. @fxn

    Merge branch 'master' of git://

    fxn committed
Commits on May 23, 2011
  1. @smartinez87
  2. @smartinez87
  3. @jonleighton

    Replace references to ActiveSupport::SecureRandom with just SecureRan…

    jonleighton committed
    …dom, and require 'securerandom' from the stdlib when active support is required.
Commits on May 19, 2011
  1. @stevenbristol
Commits on Apr 6, 2011
  1. @tenderlove
  2. @spastorino

    raise if someone tries to modify the cookies when it was already stre…

    spastorino committed
    …amed back to the client or converted to HTTP headers
Commits on Jan 21, 2011
  1. @brainopia @josevalim

    Add tld_length option when using domain :all in cookies

    brainopia committed with josevalim
    Signed-off-by: José Valim <>
  2. @brainopia @josevalim

    Support list of possible domains for cookies

    brainopia committed with josevalim
    Signed-off-by: José Valim <>
Commits on Dec 15, 2010
  1. @brainopia @vijaydev

    Fix edge cases for domain :all option on cookie store

    brainopia committed with vijaydev
    Dont set explicit domain for cookies if host is not a domain name
    [#6002 state:committed]
    Signed-off-by: Santiago Pastorino <>
Commits on Nov 26, 2010
  1. @asanghi
Something went wrong with that request. Please try again.