p8/table_builder — Issue #10: passing :id to day() - can id be based on the collection
Author: chewmanfoo
Created: 2011-10-14 20:43:53+00:00
State: open

This is what I need to achieve:

<% calendar.day(:day_method => :target_date,:id => !blackouts.empty? ? "blackout" : "") do |date, blackouts| %>

I know that's referencing blackouts before blackouts is created. How would one do this?

Thanks in advance!