I am getting a ’ undefined method error ’ when update a comment.


#1

NoMethodError (undefined method `comments’ for nil:NilClass):


#2

Hello,

Would be quite helpful if you provide more information. Meanwhile, take a look here: Ruby error: undefined method for nil:NilClass


#3

Hello,

Can you post your controller