From ada11d6313bd1f74c6a229caca36ca063b38da4e Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Mon, 27 Feb 2006 20:29:28 +0000 Subject: 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 --- activerecord/test/fixtures/joke.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 activerecord/test/fixtures/joke.rb (limited to 'activerecord/test/fixtures/joke.rb') diff --git a/activerecord/test/fixtures/joke.rb b/activerecord/test/fixtures/joke.rb new file mode 100644 index 0000000000..8006a43bd7 --- /dev/null +++ b/activerecord/test/fixtures/joke.rb @@ -0,0 +1,6 @@ +class Joke < ActiveRecord::Base + set_table_name 'funny_jokes' +end +class Joke < ActiveRecord::Base + set_table_name 'funny_jokes' +end \ No newline at end of file -- cgit v1.2.3