You need to populate a class variable in your User model from your controller so that other models can access it. See userstamp (http://delynnberry.com/pages/userstamp/) as an example.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
current_user | 0 | 158 | September 23, 2006 | |
current_user | 0 | 108 | September 23, 2006 | |
Walking through the Authlogic, BUT... | 0 | 111 | July 19, 2010 | |
Request global variable | 0 | 156 | August 17, 2007 | |
Resyful authenticatio current_user in model | 3 | 179 | September 16, 2010 |