aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/parrot.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-10-26 05:56:46 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-10-26 05:56:46 +0000
commit49eafd8c3620bf8e46d21d447fc634a12c8280ab (patch)
tree5e76c1587d3e3db619944091923659846ecede51 /activerecord/test/fixtures/parrot.rb
parent742694e0eb1abd049aa2a4eadbc7a93591c65db4 (diff)
downloadrails-49eafd8c3620bf8e46d21d447fc634a12c8280ab.tar.gz
rails-49eafd8c3620bf8e46d21d447fc634a12c8280ab.tar.bz2
rails-49eafd8c3620bf8e46d21d447fc634a12c8280ab.zip
Foxy fixtures. Adapter#disable_referential_integrity. Closes #9981.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/parrot.rb')
-rw-r--r--activerecord/test/fixtures/parrot.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/parrot.rb b/activerecord/test/fixtures/parrot.rb
new file mode 100644
index 0000000000..340c73b907
--- /dev/null
+++ b/activerecord/test/fixtures/parrot.rb
@@ -0,0 +1,4 @@
+class Parrot < ActiveRecord::Base
+ has_and_belongs_to_many :pirates
+ has_and_belongs_to_many :treasures
+end