listing people, yaaay
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
<h1>People#list</h1>
|
||||
<p>Find me in app/views/people/list.html.erb</p>
|
||||
<!-- list.rhtml -->
|
||||
<ul>
|
||||
<% Person.find(:all).each do |person| %>
|
||||
<li>Name: <%= person.name %>, Email: <%= person.email %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user