Rails, Clearance, using User ID after logging in?

Posted by Elliot on Stack Overflow See other posts from Stack Overflow or by Elliot
Published on 2010-03-18T14:47:58Z Indexed on 2010/03/18 14:51 UTC
Read the original article Hit count: 287

Filed under:
|

I'm using clearance (http://wiki.github.com/thoughtbot/clearance) for authentication in my rails app. But I'm trying to figure out how to grab the user's ID in a view after logging in.

Any ideas?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about clearance