Thanks Craig, but I think I don't understand completely.

"current_user" is a helper method provided by the plugin 
restful_authentication
to access the @current_user variable as I understand.
It is defined in lib/authenticated_system.rb.
We use this helper to access the current logged-in user in the system 
from any view.

Do you think that I have to use the variable directly?

Juanma



-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to