instiki/vendor/rails/actionpack/test/fixtures/reply.rb
Jacques Distler 5292899c9a Rails 2.1 RC1
Updated Instiki to Rails 2.1 RC1 (aka 2.0.991).
2008-05-17 23:22:34 -05:00

8 lines
159 B
Ruby

class Reply < ActiveRecord::Base
named_scope :base
belongs_to :topic, :include => [:replies]
belongs_to :developer
validates_presence_of :content
end