I have a User model and having has_many associations with Note model. Getting the records in an array format. I have to show content(column of note model) only. So, Fetching data using:
@user.notes.pluck(:content).
It is giving like this.
["Testing Notes123", "Testing Notes12345"].
In UI I want to display like this:
Testing Notes123
Testing Notes12345
Could someone please help me to fix this.