title: Struggling to view all database entries in my HTML output
body: <p>I've got a pretty simple Ruby on Rails app that has a text box where I can enter content, limited to 200 characters, into a database.</p>
  
  <p>My goal is to list the items below the text box so that when a user enters something, it appears at the top of an ever-growing list.</p>
  
  <p>Right now I have some crappy code that doesn't work, but I'm not sure why.</p>
  
  <p>In my view page, located at <code>home.html.erb</code>, I have this area for the lessons to be viewed in:</p>
  
  <pre><code>&lt;td class="my-lessons"&gt;
  
  &lt;/td&gt;
  </code></pre>
  
  <p>In my <code>Lesson controller</code> I have the following:</p>
  
  <pre><code>  def printLesson
      @lesson = Lesson.find(params[:id])
  
      puts @lesson.content
    end
  </code></pre>
  
  <p>I'm not sure how to call printLesson in my code and just generally how to show the content of the Lessons database.</p>
  
  <p>Any help would be greatly appreciated</p>