Open chewmanfoo opened 13 years ago
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!
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!