search for: authentication_token

Displaying 2 results from an estimated 2 matches for "authentication_token".

2012 Sep 02
1
to_model
...rent_sign_in_at: "2011-09-27 17:01:45", last_sign_in_at: "2011-09-27 17:01:45", current_sign_in_ip: "127.0.0.1", last_sign_in_ip: "127.0.0.1", created_at: "2011-09-12 16:55:30", updated_at: "2011-09-27 17:01:45", account_id: 1, role_id: 1, authentication_token: nil> @user.to_model => #<User id: 3, name: "dscdsf", email: "fgd-kX2TDLzHGmnQT0dZR+AlfA@public.gmane.org", encrypted_password: "", phone: "9544443456", address: "fvfdvf", reset_password_token: nil, reset_password_sent_at: nil, remember_...
2012 Aug 26
0
Undefined method `signed' for #<Rack::Test::CookieJar>
Hello, In my integration test, I want to simulate the user cookie is set. I store an authentication token as a stored cookie. So in my test. I write: cookies.signed[:authentication_token] = user.authentication_token Unforunately, it sends me a Undefined method `signed'' for #<Rack::Test::CookieJar> error. What should I do? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, sen...