Getting Started With Rails Part 3
4 min readMay 23, 2020
Ok after completing part 2 we can now see each article rendered as it was added, however, we now need a way to see a list of articles. The first thing I have done is added a new method to the index articles controller, this method retrieves all of our articles using Article.all.
As we did before; we now create the HTML for index and use the values from @articles to list them.