I'm sure this is simple but I can't seem to get it:
Works:
@build1 = Booking.build_booking('2009-06-13',3,2,18314)
@build2 = Booking.build_booking('2009-06-13',3,4,18317)
@build = @build1 + @build2
What I want to work...
#for item in @cart.items do
# @build << Booking.build_booking('2009-06-13',3,2,18314)
#end
Doesn't work either...
#(1..3).each do |i|
# @build << Booking.build_booking('2009-06-13',3,2,18314)
#end