You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,13 @@ You must implement these methods:
95
95
*`save`
96
96
*`destroy`
97
97
98
+
Note that some of the provided [rake tasks](https://github.com/rails/activerecord-session_store/blob/master/lib/tasks/database.rake)
99
+
require additional methods to be implemented:
100
+
101
+
*`db:sessions:clear` depends on `table_name`
102
+
*`db:sessions:trim` depends on `where` and `delete_all`
103
+
*`db:sessions:upgrade` depends on `secure!`
104
+
98
105
The example SqlBypass class is a generic SQL session store. You may
99
106
use it as a basis for high-performance database-specific stores.
0 commit comments