I was working with devise for one my project.Previously i used to create the model as User by default, thereby i didn't found any errors during signing.
But when i had my model as connectz_user i was getting the error "undefined local variable or method `current_user'"
Later, i checked with the devise mail listing group and they informed me to go with current_connectz_user.After implementing the later change on my views, i am not finding the error on my app
No comments :
Post a Comment