aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/rails-2.1.0/actionpack/test/fixtures/reply.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rails-2.1.0/actionpack/test/fixtures/reply.rb')
-rw-r--r--vendor/rails-2.1.0/actionpack/test/fixtures/reply.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/rails-2.1.0/actionpack/test/fixtures/reply.rb b/vendor/rails-2.1.0/actionpack/test/fixtures/reply.rb
new file mode 100644
index 000000000..04598437c
--- /dev/null
+++ b/vendor/rails-2.1.0/actionpack/test/fixtures/reply.rb
@@ -0,0 +1,7 @@
+class Reply < ActiveRecord::Base
+ named_scope :base
+ belongs_to :topic, :include => [:replies]
+ belongs_to :developer
+
+ validates_presence_of :content
+end