Values should be filled for corresponding date, in a range.

Hi ,

    I'm newbie to Rails can someone help in this.I had struck here in my application and actually i solved it using PHP but don't know how to do in Rails.      I have table like this

How about something like:

<% @records.each do |record| %> <%= h record.when %> <%= tag(“div”, { :id => record.id, :style => “color:#{record.color}” })

<% end %>

–wpd