asset_path helper erroring in method
I am creating a method on my model that I can use to return the URL to the correct logo, photo or a fallback image. My code is:
Rails error Couldn’t find User without an ID
I’m stuck in creating a form for editing users in my admin panel. The administrator should be able to edit user roles and delete them, so I created a form but unfortunately I get an error