Implementing commenting system using acts_as_nested_set


I have been trying to implemented a commenting system for my Job
model. I pretty much got my model to work using (better_)
acts_as_nested_set. But I am finding it difficult to display the
comments in views. How would I recurse the comment tree and display
the comment details for each child. I was thinking of something like

@comments = job.comments

for comment in @comments
  <p> display comment details here </p>
  <% --recurse-- unless comment.children.empty? %>

Any help?

Thanks much.