Generic-user-small Michael Rogers 3 posts

When the author includes, on p. 108 on the most recent .pdf, the line

session :session_id => '_depot_session_id'

is this session declaration the same as the session hash?

Thanks for any insight,

Michael Rogers

 
Dave_8_trans_small Dave Thomas Administrator 65 posts

When you use session in an action or view, it’s at the instance level. Here, session is a class-level declaration. They’re two different things (although obviously related :)

Dave

2 posts, 2 voices