aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/session_store.rb
Commit message (Collapse)AuthorAgeFilesLines
* Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-4/+4
|
* Allow AR Session Store to be renewedJosé Valim2010-11-111-0/+1
|
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-4/+4
| | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Rely on Rack::Session stores API for more compatibility across the Ruby world.José Valim2010-10-031-2/+5
|
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-021-2/+0
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-021-0/+2
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>
* Replaced hardcoded SessionStore table creation SQL with calls to ↵Raimonds Simanovskis2010-08-161-8/+6
| | | | | | ActiveRecord adapter migration methods Otherwise hardcoded table creation SQL was failing on Oracle database
* remove already defined method to avoid warningsSantiago Pastorino2010-08-151-0/+1
|
* Revert "connection reader is defined later"Santiago Pastorino2010-08-151-1/+1
| | | | This reverts commit f4cce71d96c4aab898ae074174d93802fcb0b1cc.
* connection reader is defined laterSantiago Pastorino2010-08-151-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* Revert "Avoid uneeded queries in session stores if sid is not given."José Valim2010-07-291-0/+1
| | | | | | First step to merge Rails and Rack session stores. Rack always expects to receive the SID since it may have different behavior if the SID is nil. This reverts commit e210895ba95e498b9debbf43a3e5ae588bca81f0.
* testing sqlbypass destroy. caching connection during destroyAaron Patterson2010-07-231-6/+7
|
* brrrrr! freeze is not neededAaron Patterson2010-07-231-1/+1
|
* fixing space errorAaron Patterson2010-07-221-1/+1
|
* refactoring more methods to a class methods moduleAaron Patterson2010-07-221-20/+12
|
* refactoring class methods to a moduleAaron Patterson2010-07-221-24/+18
|
* Session data will exceed 255 bytes. Use TEXT.Jeremy Kemper2010-07-221-1/+1
|
* Makes current adapter decide the syntax of PRIMARY KEY column definitionSantiago Pastorino2010-07-221-2/+2
|
* This is a VARCHAR not a TEXTSantiago Pastorino2010-07-221-1/+1
|
* MySQL can't index a TEXT columnSantiago Pastorino2010-07-221-2/+2
|
* refactor to use instance methods and be kind to subclassesAaron Patterson2010-07-221-10/+11
|
* testing loaded? method and reducing funcallsAaron Patterson2010-07-211-1/+1
|
* testing new_record? and converting to an attributeAaron Patterson2010-07-211-5/+3
|
* reducing function calls in the session storeAaron Patterson2010-07-211-5/+5
|
* readability is hipAaron Patterson2010-07-211-2/+4
|
* starting sql bypass test, fixing create_table and drop_table!Aaron Patterson2010-07-211-4/+4
|
* initializing instance variablesAaron Patterson2010-07-211-1/+6
|
* adding tests for sessions and clearing up warningsAaron Patterson2010-07-211-3/+9
|
* Avoid uneeded queries in session stores if sid is not given.José Valim2010-07-181-1/+0
|
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-1/+1
|
* Sessions should not be created until written to and session data should be ↵Michael Lovitt2010-06-231-0/+8
| | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Adds title and proper formatting to docs.Rizwan Reza2010-06-161-0/+8
|
* Cut the fat and make session stores rely on request.cookie_jar and change ↵José Valim2010-05-181-1/+1
| | | | set_session semantics to return the cookie value instead of a boolean.
* Fix reset_session with ActiveRecord store [#2200 state:resolved]Joshua Peek2009-05-171-1/+9
|
* Bring abstract_controller up to date with rails/masterCarl Lerche & Yehuda Katz2009-04-131-5/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved all the conflicts since 2.3.0 -> HEAD. Following is a list of commits that could not be applied cleanly or are obviated with the abstract_controller refactor. They all need to be revisited to ensure that fixes made in 2.3 do not reappear in 3.0: 2259ecf368e6a6715966f69216e3ee86bf1a82a7 AR not available * This will be reimplemented with ActionORM or equivalent 06182ea02e92afad579998aa80144588e8865ac3 implicitly rendering a js response should not use the default layout [#1844 state:resolved] * This will be handled generically 893e9eb99504705419ad6edac14d00e71cef5f12 Improve view rendering performance in development mode and reinstate template recompiling in production [#1909 state:resolved] * We will need to reimplement rails-dev-boost on top of the refactor; the changes here are very implementation specific and cannot be cleanly applied. The following commits are implicated: 199e750d46c04970b5e7684998d09405648ecbd4 3942cb406e1d5db0ac00e03153809cc8dc4cc4db f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690 e3b166aab37ddc2fbab030b146eb61713b91bf55 ae9f258e03c9fd5088da12c1c6cd216cc89a01f7 44423126c6f6133a1d9cf1d0832b527e8711d40f 0cb020b4d6d838025859bd60fb8151c8e21b8e84 workaround for picking layouts based on wrong view_paths [#1974 state:resolved] * The specifics of this commit no longer apply. Since it is a two-line commit, we will reimplement this change. 8c5cc66a831aadb159f3daaffa4208064c30af0e make action_controller/layouts pick templates from the current instance's view_paths instead of the class view_paths [#1974 state:resolved] * This does not apply at all. It should be trivial to apply the feature to the reimplemented ActionController::Base. 87e8b162463f13bd50d27398f020769460a770e3 fix HTML fallback for explicit templates [#2052 state:resolved] * There were a number of patches related to this that simply compounded each other. Basically none of them apply cleanly, and the underlying issue needs to be revisited. After discussing the underlying problem with Koz, we will defer these fixes for further discussion.
| * Ensure SqlBypass use ActiveRecord::Base connectionLuca Guidi2009-04-051-1/+1
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#https://rails.lighthouseapp.com/attachments/106066/0001-Ensure-SqlBypass-use-ActiveRecord-Base-connection.patch state:committed]
| * Fixed reset_session for ActiveRecord session store [#2108 state:resolved]Joshua Peek2009-03-031-3/+7
| |
| * Don't use weird attribute_condition methods in AR Session StoreMichael Koziarski2009-02-061-1/+1
| | | | | | | | Use the hash condition for find instead.
* | Move HTTP libs and middleware into ActionDispatch componentJoshua Peek2009-01-271-1/+1
|/
* Remove legacy reloadable? method from ActiveRecord::SessionStore [#1745 ↵Cody Fauser2009-01-131-5/+0
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Switch to Rack based session stores.Joshua Peek2008-12-151-0/+319