My Recent Pastes (3 and counting)

All Pasties (over 3 and counting)

Below are summaries of the 3 most recent pasties by Tony.

September 12, 2007
10:12PM EDT
by Tony

1
2
3
4
5
# 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

September 12, 2007
10:08PM EDT
by Tony

1
2
3
4
5
# This is your Articles Controller (/app/controllers/article_controller.rb)
class ArticlesController < ActiveRecord::Base
  
  def show
    # This would be accessed at www.mysite.org/articles/show/1

September 12, 2007
10:05PM EDT
by Tony

1
2
3
4
5
class

# This is articles/article.rhtml
<h2><%= @article.title %></h2>