This project is archived and is in readonly mode.

#2745 ✓resolved
felipekaufmann

db:sessions:clear to respect legacy table names

Reported by felipekaufmann | June 2nd, 2009 @ 06:40 PM | in 3.x

rake db:sessions:clear has the table name for the sessions table hardcoded. Since the sessions table name is configurable trough:

ActiveRecord::SessionStore::Session.table_name=

wouldn't it make sense that the task uses the table name defined above?
Tested patch attached...

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages