I'm currently making a personal app to change jobs to a web engineer. I'm having trouble solving an error that occurred during personal application development.
I want to display only posts, but I want to delete all the information I put in the table because it has appeared on the browser.
= @posts.each do |post|
When I commented out this part, it disappeared, so it seems to be related to the description here.
# before(Is displayed) = @posts.each do |post| # after(Do not show) - @posts.each do |post|
In Ruby, it was set to be displayed as
= and not displayed as
The answer was simple. .. ..