page.rb

teensyweb/app/models/page.rb · 383 B

From the archive teensyweb.tar.gz

Download the archive   « Back to the archive contents

#
# file::    page.rb
# author::  Jon A. Lambert
# version:: 0.1.0
# date::    1/6/2006
#
# This source code copyright (C) 2006 by Jon A. Lambert
# All rights reserved.
#
# Released under the terms of the TeensyWeb Public License
# See LICENSE file for additional information.
#

class Page < ActiveRecord::Base
  has_many :revisions, :order => "id DESC"
  belongs_to :revision

end

Site Stats

Snippets: 1791
Codebases: 571