I followed this tutorial through but when i got to displaying users in my view, it worked for a bit and then it suddenly started throwing me this error:
and im unsure where it came from. I applied friendly_id gem to my users after this point as far as my memory takes me so im not sure if that influences this in anyway. My models and controllers match to yours too so im sure that the code on that side isnt the problem.
Hi Ryan,
I followed this tutorial through but when i got to displaying users in my view, it worked for a bit and then it suddenly started throwing me this error:
undefined method `profile' for #Friendship:0x007fd8519f11f0
and im unsure where it came from. I applied friendly_id gem to my users after this point as far as my memory takes me so im not sure if that influences this in anyway. My models and controllers match to yours too so im sure that the code on that side isnt the problem.
Any ideas? Thanks
Nandu.