Restful_Authentication and DB Sessions

We’re using the Restful Authentication plugin
(http://agilewebdevelopment.com/plugins/restful_authentication).

So far it works fine but then I noticed that sessions are not being
stored to the db. When I looked at the sessions table I noticed that is
does not have fields like “session_id” and “data” which are created when
running rake db:sessions:create. Instead what I see is a lot of fields
in sessions that are duplicates of the user table like login, email,
salt, password.

I’m not really understanding the purpose of the Sessions table for
Restful_Authentication as well why it isn’t actually storing sessions in
the db.

On 9/4/07, Will M. [email protected] wrote:

I’m not really understanding the purpose of the Sessions table for
Restful_Authentication as well why it isn’t actually storing sessions in
the db.

The plugin doesn’t modify how sessions work. It sounds like you
specified Session as the user model.


Rick O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs