search for: 89984667d30d0fec71f2a5cbb9017e24

Displaying 1 result from an estimated 1 matches for "89984667d30d0fec71f2a5cbb9017e24".

2012 Mar 05
0
Rails 3 - How can you get access to current_user in the IRB console?
...t;> app.get ''/some_other_path_that_only_works_if_logged_in'' >> pp app.response.body I''ve been able to get session info: >> app.session => {"_csrf_token"=>"1yAn0jI4VWzUH84PNTH0lVhjpY98e9echQGS4=", "session_id"=>"89984667d30d0fec71f2a5cbb9017e24"} I''ve tried everything I can think of to try to get to current_user via app and app.session, but no luck. How can I access current_user? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion o...