I searched for other posts that had this problem and couldn't find the one that fixed my problem. My irb is going crazy. I am trying to change user roles in my database, but I canβt even reach my users!
irb(main):001:0> User.all NameError: uninitialized constant Object::User from (irb):1 from c:/Ruby192/bin/irb:12:in `<main>'
He worked fine, stopped working, everything is in order, and now he has stopped again. I have a user model and users are added. I canβt pinpoint the problem. Let me know what code you need to see. Thanks!
source share