I have a list of events and when clicked an event you get detailed
info of the event. The detailed info actually depends on whether the
event has already occured or not. So if the event still has to happen
different content has to be rendered.
Is there a rails way on dealing with this or do I just use (in event/
show.html.erb):
if @event.starttime < Time.now
#render event way 1
else
#render event way 2
end