Hi,
I upgraded to 1.2.2 and many of my functional tests broke. It seems like
passing stuff into the session using the following syntax doesn’t work:
get :index, {}, {:user_id => ‘1’}
In the debugger I could clearly see that the :user_id didn’t make it
into the session. Did the syntax for doing this change, or is this a
bug?
Ingo
Ingo W. wrote:
Hi,
I upgraded to 1.2.2 and many of my functional tests broke. It seems like
passing stuff into the session using the following syntax doesn’t work:
get :index, {}, {:user_id => ‘1’}
In the debugger I could clearly see that the :user_id didn’t make it
into the session. Did the syntax for doing this change, or is this a
bug?
Ingo
I just posted about this a few minutes ago
Apparently the correct syntax is now:
@request.session[:user_id] = ‘1’
get :index
Jeff
On 2/8/07, Jeff C.man [email protected] wrote:
into the session. Did the syntax for doing this change, or is this a
bug?
Ingo
I just posted about this a few minutes ago
Apparently the correct syntax is now:
@request.session[:user_id] = ‘1’
get :index
What Ingo has should work. This is a bug and will be fixed in 1.2.3!
Sorry for letting the regression slip in, all.
jeremy
Jeremy K. wrote:
On 2/8/07, Jeff C.man [email protected] wrote:
into the session. Did the syntax for doing this change, or is this a
bug?
Ingo
I just posted about this a few minutes ago
Apparently the correct syntax is now:
@request.session[:user_id] = ‘1’
get :index
What Ingo has should work. This is a bug and will be fixed in 1.2.3!
Sorry for letting the regression slip in, all.
jeremy
Thanks, Jeremy! I was wondering what had happened
Jeff