From: Sven Schott Date: 2004-11-29T10:24:48+09:00 Subject: Re: Rails list method Thank you David. I knew it had to be stupidity on my part. It now reads: Names of all the people <% @person.each do |@item| %> Name: <%= @item.name %>
<% end %> That work swell. Once again, thanks. Regards Sven Schott On 29/11/2004, at 12:12 PM, David A. Black wrote: > Hi -- > > On Mon, 29 Nov 2004, Sven Schott wrote: > >> 10: <% @people.each do |@item| %> > > [...] > >> def list >> @person = Person.find_all > > Shouldn't that be @people ? > > > David > > -- > David A. Black > dblack@wobblini.net > > >