Hello, Im building a Rails 3 app, and have an Observer...
in the observer I need to user the current_user var that DEVISE allows me to user across my views...
How can you use the current_user.name or current_user.id in the Observer?
Thank you
Hello, Im building a Rails 3 app, and have an Observer...
in the observer I need to user the current_user var that DEVISE allows me to user across my views...
How can you use the current_user.name or current_user.id in the Observer?
Thank you