aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/fixtures/developer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test/fixtures/developer.rb')
-rw-r--r--actionview/test/fixtures/developer.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/actionview/test/fixtures/developer.rb b/actionview/test/fixtures/developer.rb
new file mode 100644
index 0000000000..4941463015
--- /dev/null
+++ b/actionview/test/fixtures/developer.rb
@@ -0,0 +1,10 @@
+class Developer < ActiveRecord::Base
+ has_and_belongs_to_many :projects
+ has_many :replies
+ has_many :topics, :through => :replies
+ accepts_nested_attributes_for :projects
+end
+
+class DeVeLoPeR < ActiveRecord::Base
+ self.table_name = "developers"
+end