I'm using Devise 1.4.8
I want to assign the current logged-in user's id in callbacks method.
How to use current user's id in the model without passing it from the controller?
Is there any other way to do this in the model?
I'm using Devise 1.4.8
I want to assign the current logged-in user's id in callbacks method.
How to use current user's id in the model without passing it from the controller?
Is there any other way to do this in the model?