Forum: Ruby on Rails Error table when loop from database

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
988cf585499cfbd221e6fd3f877ac507?d=identicon&s=25 kh hacker (Guest)
on 2014-07-08 08:11
(Received via mailing list)
<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Photo</th>
      <th colspan="3">Task List</th>
    </tr>
  </thead>

  <tbody>
    <% @staffs.each do |staff| %>
    <% @item1s.each do |item1| %>
      <tr>
        <td><%= staff.name %></td>
        <td><%= item1.name %></td>
      </tr>

    <% end %>
      <% end %>
  </tbody>
</table>
4c6bde00168d595053c09aac7e487f8e?d=identicon&s=25 Colin Law (Guest)
on 2014-07-08 18:05
(Received via mailing list)
On 8 July 2014 06:11, kh hacker <hackercambo@gmail.com> wrote:
>   <tbody>
> </table>
Do you have a question?  If so then you are more likely to get an
answer if you ask the question.

Colin
This topic is locked and can not be replied to.