Getting Started With Rails Part 3

Steven Klavins
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.

--

--

Steven Klavins

Hi, I’m Steven, most call me Steve! I’m a programmer, musician, and artist. This blog contains various tutorials and posts related to software development.