listing people, yaaay

This commit is contained in:
Dan Buch 2011-08-09 21:12:02 -04:00
parent 5d78c29208
commit 6403093135

View File

@ -1,2 +1,6 @@
<h1>People#list</h1> <!-- list.rhtml -->
<p>Find me in app/views/people/list.html.erb</p> <ul>
<% Person.find(:all).each do |person| %>
<li>Name: <%= person.name %>, Email: <%= person.email %></li>
<% end %>
</ul>