Test for user logged in

Hello people,

Still a newbie in rails, wanted to know if there is a way to test if
there is a user actually logged in from controller action code ? I’m
using restful authentication .



How about using the logged_in? method. That should do the trick for

By the way take a look though lib/authenticated_system.rb. You’ll find
lots of cool stuff in there.