What rails command can give me 'User-ID' from a username/user-email?

Pls tell the way or command to be used to find the ‘USER_ID’ of some particular user.

I wish to use that user id in a ‘Data Explorer’ query.

You don’t need a rails command for that. I think the easist way to find one would be to go to a particular user’s /admin/users page and you can see it in the URL.

3 Likes

OH. Great, I searched a lot on meta, but couldn’t find this.

#here-is-how-to-find-user-id-from-username-or-user-email

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.