instiki/vendor/rails/actionpack/test/fixtures/reply.rb

6 lines
117 B
Ruby
Raw Normal View History

2007-01-22 14:43:50 +01:00
class Reply < ActiveRecord::Base
belongs_to :topic, :include => [:replies]
validates_presence_of :content
end