aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/project.rb')
-rw-r--r--activerecord/test/fixtures/project.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/project.rb b/activerecord/test/fixtures/project.rb
index 1ccf39d7cf..fddea7b61c 100644
--- a/activerecord/test/fixtures/project.rb
+++ b/activerecord/test/fixtures/project.rb
@@ -1,4 +1,10 @@
class Project < ActiveRecord::Base
has_and_belongs_to_many :developers, :uniq => true
has_and_belongs_to_many :developers_named_david, :class_name => "Developer", :conditions => "name = 'David'", :uniq => true
+end
+
+class SpecialProject < Project
+ def hello_world
+ "hello there!"
+ end
end \ No newline at end of file