Post History
How to get specific children's column? For questions, I can use @post.last_edited_at or, something just like this. But, I was thinking to fetch a single column for all child. <% post.children.l...
#1: Initial revision
How to fetch single column for children?
How to get specific children's column? For questions, I can use `@post.last_edited_at` or, something just like this. But, I was thinking to fetch a single column for all child. ```ruby <% post.children.last_edited_at do |last_edited| %> <span>last_edited</span> <% end %> ``` But, this isn't correct way to fetch single column for all child. I can fetch child's all column but, not a single one. I was thinking to put those strings inside an array. But, there's no possible way to put those value in array either. If I split using `"` than, what if user is using quotation mark in body. ```ruby <% children.each do |answer| %> ``` I can fetch all columns above way but.... I am working on post.rb models.