50 Experience
0 Lessons Completed
0 Questions Solved


Posted in User_signed_in? doesnt work

Whenever I request for a user_signed_in?' I get a "undefined methoduser_signed_in?' for #<#Class:0x0000558f3526b730:0x0000558f352697c8>" error code. The code changes everytime. Im trying to check if the user is logged in to change a "Log In" into a "Log Out" and neither `user_signed_in?' not account_signed_in? works. Please help

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.