Add the user as a attr_accessor and set it in the model? Sent via BlackBerry by AT&T
-----Original Message----- From: Chris <[email protected]> Date: Thu, 28 Jan 2010 19:08:58 To: CommunityEngine<[email protected]> Subject: [CommunityEngine] Accessing Current User I need to access the current_user to pass the user ID of the current use to the activity tracking for a model not associated with a user. Does anyone know what I need to do to access the current user in a model or controller in my main app since the authentication is handled in the CE lib. Not sure where to go with this one. -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en. -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
