andkjaer
andkjaer

Reputation: 4065

Heroku and Devise error

I have just updated my Devise to 1.2 and it gives med the following error on Heroku:

"Devise changed how it stores objects in session. If you are seeing this message, you can fix it by changing one character in your cookie secret or cleaning up your database sessions if you are using a db store."

How can i clean up my database sessions in my heroku DB?

Upvotes: 0

Views: 1199

Answers (1)

John Beynon
John Beynon

Reputation: 37507

heroku rake db:sessions:clear 

Will empty your sessions table

Upvotes: 5

Related Questions