James Adam wrote:
> I think this is something to do with the user monitor - the login
> engine doesn't add any 'current_user' method to the User model at
> all...
>   

That explains it then :) I thought that login_engine did add a
'current_user' method to the User model (I was misunderstanding the bit
from the README which read "You can also use the 'current_user' method
provided by UserHelper").  I see my mistake now, though -- a helper
method is available to *views* not *models*.

So I do still need to add the method to my model. This I can do :)

Thanks again for your help!

Gwen
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to