i'm pretty new to rails, so excuse me.
Is there a way to programmatically build the DOM tree in Rails? This
seems a pretty fundamental feature to have ..
eg, generating the view for a calendar. There's a clear pattern of
table/css elements, half-in-step with a bunch of data that's going to
appear on the calendar.
It would be clean to have two separate loops for these in code, one
for the html stuff, one for the content. -- or is there another way to
keep these concerns separate?
or perhaps there is a clever (not ridic) design solution?