So I am trying to comment on an image and I am slightly confused on how
to do this. I am very new to Ruby so I don’t know what to display for
you guys but I will show you.
I just need the method as I can’t figure that out.
This is what I am trying to do.
shared/_comment.html.erb uses a method display_name. The object
comment.commentator will be an instance of Reader which will need to be
modified to
have this method, which will be their first name and last name
concatenated together.
I want to be able to comment on an image and for it to display their
name.
I have attached 3 files. If there is anything I have missed then please
let me know.
Thanks in advance