I have a User model with has_many associations to the Note model. I need to fetch the content column values from the notes and display them in UI as follows:
@user.notes.pluck(:content)
The current output is:
["Testing Notes123", "Testing Notes12345"]
I want to display it in UI like this:
Testing Notes123
Testing Notes12345
Can someone assist me in resolving this issue?