# This is your Articles Controller (/app/controllers/article_controller.rb) class ArticlesController < ApplicationController def show # This would be accessed at www.mysite.org/articles/show/1 @article = Article.find params[:id] end end # This is /app/views/articles/show.rhtml
<%= @article.body %>
<% if @article.has_comments? %><%= comment.body %>
<% if comment.has_children? %>