Szyny renderują częściowo za pomocą: collection

To jest tak proste, że nie powinno być problemu, ale nie rozumiem, co tu się dzieje.

Mam następujący kod

class DashboardController < ApplicationController
    def bookings
      @bookings = Booking.all
    end
end

/views/dashboard/bookings.html.erb

<%= render 'booking', :collection => @bookings %>

/views/dashboard/_booking.html.erb

<%= booking.booking_time %>

Dostaję następujący błąd

undefined method `booking_time' for nil:NilClass

Jeśli jednak zrobię to w /views/dashboard/_bookings.html.erb

<% @bookings.each do |booking| %>
   <%= render 'booking', :booking => booking %>
<% end %>

Dostaję (poprawne)

2012-12-19 09:00:00 UTC 
2012-12-28 03:00:00 UTC

Co tu się dzieje? Naprawdę chcę użyć: collection zgodnie z definicją tutajhttp://guides.rubyonrails.org/layouts_and_rendering.html

questionAnswers(2)

yourAnswerToTheQuestion