I'm checking if a user is an admin, and then I will show a delete button if he is. For whatever reason, it's automatically setting the boolean to true. It says is_admin: false in the console when I pull up the user's record.
Check status of user
def is_admin?
self.username
end
view method
Have any ideas to why the method is still showing the button?