aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord/active_record_store_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-261-1/+1
| | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
* Removed deprecated RouteSet API, still many tests failPiotr Sarnacki2010-09-051-1/+1
|
* Make sure that Rails doesn't resent session_id cookie over and over again if ↵Prem Sichanugrist2010-06-251-0/+12
| | | | | | | | it's already there [#2485 state:resolved] This apply to only Active Record store and Memcached store, as they both store only the session_id, which will be unchanged, in the cookie. Signed-off-by: José Valim <jose.valim@gmail.com>
* Sessions should not be created until written to and session data should be ↵Michael Lovitt2010-06-231-2/+33
| | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Cut the fat and make session stores rely on request.cookie_jar and change ↵José Valim2010-05-181-1/+7
| | | | set_session semantics to return the cookie value instead of a boolean.
* Use new routing dsl in testsJoshua Peek2009-12-081-1/+1
|
* Add custom "with_routing" to internal tests to fix reseting session after usingJoshua Peek2009-10-031-1/+0
| | | | with_routing. This only affects our internal AP tests.
* Allow integration test rack app to be set with "@app" ivar instead of using ↵Joshua Peek2009-09-261-8/+5
| | | | open_session
* Clean up session integration tests so they don't reference AC::DispatcherJoshua Peek2009-09-261-21/+6
|
* Need to reset session for AR session tests after altering the route setJoshua Peek2009-09-061-0/+1
|
* Reset session in integration tests after changing routes to reload the ↵Joshua Peek2009-08-271-11/+14
| | | | middleware stack
* Revert "Only save the session if we're actually writing to it [#2703 ↵Joshua Peek2009-05-301-22/+0
| | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d.
* Only save the session if we're actually writing to it [#2703 state:resolved]Johan Sörensen2009-05-281-0/+22
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix reset_session with ActiveRecord store [#2200 state:resolved]Joshua Peek2009-05-171-3/+3
|
* Make it clearer that session is nilJeremy Kemper2009-04-261-0/+1
|
* Ensure SqlBypass use ActiveRecord::Base connectionLuca Guidi2009-04-051-17/+28
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#https://rails.lighthouseapp.com/attachments/106066/0001-Ensure-SqlBypass-use-ActiveRecord-Base-connection.patch state:committed]
* reset_session should force a new session id to be generated [#2173]Joshua Peek2009-03-091-0/+25
|
* Fixed reset_session for ActiveRecord session store [#2108 state:resolved]Joshua Peek2009-03-031-0/+21
|
* Switch to Rack based session stores.Joshua Peek2008-12-151-107/+95
|
* Use autoload instead of explicit requires for ActionControllerJoshua Peek2008-11-231-1/+0
|
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: move from the deprecated Base64 module to ↵Jeremy Kemper2007-12-181-1/+1
| | | | | | ActiveSupport::Base64. Closes #10554. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵Jeremy Kemper2007-01-281-1/+1
| | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use ActiveRecordTestCaseJeremy Kemper2006-09-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up and run the Active Record integration tests by default. Closes #5854.Jeremy Kemper2006-08-221-34/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up and run the Active Record integration tests by default.Jeremy Kemper2006-08-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with unloaded ARStore sessions being loaded when they are ↵Jamis Buck2006-03-081-0/+22
| | | | | | garbage collected, causing problems if there were AR objects in the session. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Major components cleanup and speedup. Closes #3527.Jeremy Kemper2006-02-091-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move active_record_store_test.rb to test/activerecord/. Closes #3790.Jeremy Kemper2006-02-091-0/+151
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3556 5ecf4fe2-1ee6-0310-87b1-e25e094e27de