If you're trying to display an iCal stream in a Rails project, the
following should work (although I haven't done much with Rails in some
time)
# controller
require 'ri_cal'
@cal = RiCal.parse_string your_ical_string
# view
<% @cal.each do |cal| %>
<% events.each do |event| %>
Event Name: <%= event.summary %><br \>
Event Month: <%= event.dtstart.month %><br \><br \>
<% end %>
<% end %>