Skip to content
This repository

Dec 16, 2011

  1. José Valim

    Get rid of the close checks since we cannot reliably close the sessio…

    …n anyway.
    authored December 16, 2011

Nov 23, 2011

  1. Sergey Nartimov

    configuration option to always write cookie

    authored November 23, 2011

Oct 18, 2011

  1. Alexey Vakhov

    Remove superfluous assignment in cookies

    authored October 18, 2011

Sep 01, 2011

  1. Aaron Patterson

    CookieJar is enumerable. fixes #2795

    authored September 01, 2011

Jun 30, 2011

  1. José Valim

    Add has_key? and key? methods to CookieJar removed in 0ca69ca

    authored June 30, 2011

Jun 05, 2011

  1. Andrew White

    Add backward compatibility for testing cookies

    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]
    
    and
    
        @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.
    authored June 05, 2011
  2. Andrew White

    Ensure cookie keys are strings

    authored June 05, 2011

Jun 04, 2011

  1. Andrew White

    Refactor ActionController::TestCase cookies

    Assigning cookies for test cases should now use cookies[], e.g:
    
      cookies[:email] = 'user@example.com'
      get :index
      assert_equal 'user@example.com', cookies[:email]
    
    To clear the cookies, use clear, e.g:
    
      cookies.clear
      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.
    authored March 30, 2011

May 25, 2011

  1. Xavier Noria

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

    Conflicts:
    	actionmailer/lib/action_mailer/base.rb
    	activesupport/lib/active_support/core_ext/kernel/requires.rb
    authored May 25, 2011

May 23, 2011

  1. Sebastian Martinez

    Remove extra white-space on some exception messages.

  2. Sebastian Martinez

    Remove extra white spaces on ActionPack docs.

  3. Jon Leighton

    Replace references to ActiveSupport::SecureRandom with just SecureRan…

    …dom, and require 'securerandom' from the stdlib when active support is required.

May 19, 2011

  1. Steven Bristol

    fixing sym and string cookie name, two cookies to browser bug.

Apr 06, 2011

  1. Aaron Patterson

    CookieJar should prefer composition over inheritance

    authored April 06, 2011
  2. Santiago Pastorino

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

    …amed back to the client or converted to HTTP headers
    authored April 06, 2011

Jan 21, 2011

  1. Ravil Bayramgalin

    Add tld_length option when using domain :all in cookies

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored January 21, 2011 josevalim committed January 21, 2011
  2. Ravil Bayramgalin

    Support list of possible domains for cookies

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored January 21, 2011 josevalim committed January 21, 2011

Dec 15, 2010

  1. Ravil Bayramgalin

    Fix edge cases for domain :all option on cookie store

    Dont set explicit domain for cookies if host is not a domain name
    
    [#6002 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    authored December 09, 2010 vijaydev committed December 16, 2010

Nov 26, 2010

  1. Aditya Sanghi

    Resolving LH #5986, cookies doc updates

    authored November 26, 2010

Oct 27, 2010

  1. Andrew White

    Ensure that Rails.env is defined first

    authored October 27, 2010

Oct 25, 2010

  1. Andrew White

    Don't write out secure cookies unless the request is secure

    authored October 22, 2010

Aug 27, 2010

  1. Joost Baaij

    expand cookie examples with signed and permanent methods

    authored August 27, 2010

Aug 15, 2010

  1. Bryce Thornton

    Allow for any possible TLD when using the :all option with the cookie…

    … session store. This works for subdomain.mysite.local, google.co.uk, google.com.au, etc. [#5147 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored August 14, 2010 josevalim committed August 15, 2010

Jul 15, 2010

  1. Carlos Antonio da Silva

    Small fix in cookie docs and trailing whitespaces

Jun 11, 2010

  1. Rizwan Reza

    Refactored duplication into a separate method. Dropped class variable.

    authored June 11, 2010 josevalim committed June 11, 2010
  2. Rizwan Reza

    Adding missing docs to delete cookies with :all which were added that…

    … way.
    authored June 11, 2010 josevalim committed June 11, 2010
  3. Rizwan Reza

    Took out the domain option logic to cookies.rb.

    authored June 11, 2010 josevalim committed June 11, 2010

May 18, 2010

  1. José Valim

    Avoid creating a Rack::Response object in the cookie middleware since…

    … it may stream the body.
    authored May 18, 2010
  2. José Valim

    Simplify cookie_store by simply relying on cookies.signed.

    authored May 18, 2010

Apr 05, 2010

  1. José Valim

    Rename config.cookie_secret to config.secret_token and pass it as con…

    …figuration in request.env. This is another step forward removing global configuration.
    authored April 05, 2010

Apr 04, 2010

  1. Jeremy Kemper

    Fix signed cookies by explicitly passing config to the cookie jar

    authored April 04, 2010

Mar 31, 2010

  1. José Valim

    Deprecate cookie_verifier_secret in favor of config.cookie_secret all…

    …owing signed cookies to work again.
    authored March 31, 2010

Mar 18, 2010

  1. Deleting and setting a cookie in the same request was broken

    Made sure to remove a cookie from @deleted_cookies when set
    
    [#4211 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    authored March 18, 2010 jeremy committed March 17, 2010

Jan 18, 2010

  1. Joshua Peek

    Accessing nonexistant cookies through the signed jar should not raise an

    exception
    authored January 17, 2010

Jan 16, 2010

  1. Joshua Peek

    Cookies middleware

    authored January 16, 2010
Something went wrong with that request. Please try again.