Rails, Clearance, using User ID after logging in?
-
20-09-2019 - |
Question
I'm using clearance (https://github.com/thoughtbot/clearance/wiki) 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?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow