aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/funny_jokes.yml
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-02-27 20:29:28 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-02-27 20:29:28 +0000
commitada11d6313bd1f74c6a229caca36ca063b38da4e (patch)
tree27f5a7e4a3f913d7cbe4200594afe6421a2fa3d6 /activerecord/test/fixtures/funny_jokes.yml
parentd0bd952aff3f42ed95eed701916bbdf9e6f01cca (diff)
downloadrails-ada11d6313bd1f74c6a229caca36ca063b38da4e.tar.gz
rails-ada11d6313bd1f74c6a229caca36ca063b38da4e.tar.bz2
rails-ada11d6313bd1f74c6a229caca36ca063b38da4e.zip
Add set_fixture_class to allow the use of table name accessors with models which use set_default_name. Closes #3935
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/funny_jokes.yml')
-rw-r--r--activerecord/test/fixtures/funny_jokes.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/funny_jokes.yml b/activerecord/test/fixtures/funny_jokes.yml
new file mode 100644
index 0000000000..834481bc60
--- /dev/null
+++ b/activerecord/test/fixtures/funny_jokes.yml
@@ -0,0 +1,14 @@
+a_joke:
+ id: 1
+ name: Knock knock
+
+another_joke:
+ id: 2
+ name: The Aristocrats
+a_joke:
+ id: 1
+ name: Knock knock
+
+another_joke:
+ id: 2
+ name: The Aristocrats \ No newline at end of file