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 .
Regards,
Joel
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 .
Regards,
Joel
How about using the logged_in? method. That should do the trick for
you.
By the way take a look though lib/authenticated_system.rb. You’ll find
lots of cool stuff in there.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs