I apologize if I’ve placed this in the wrong category as I’m new to Discourse and meta.
I’ve been working on a development version of Discourse and I’m really loving the application. I’m working to build an integration with Braintree, but part of the process requires me to get the user_id of the current user. I couldn’t find any documentation on how to call the User object from Ruby. There’s a number of cases that show how to do this on the Ember side, but I couldn’t find any on the Rails side. I’m probably just being dense and I’m missing something simple, but my brain can’t see it.