From 4b68982f649c5b230b3e99954a71404c7cec03c7 Mon Sep 17 00:00:00 2001 From: Josh Peek Date: Mon, 7 Apr 2008 19:44:37 +0000 Subject: Improve ActiveRecord::Base#table_name unit tests for nested classes. Closes #10289. [scott_willson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/models/company_in_module.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/test/models/company_in_module.rb') diff --git a/activerecord/test/models/company_in_module.rb b/activerecord/test/models/company_in_module.rb index 2f269f9c3f..7f02403d5a 100644 --- a/activerecord/test/models/company_in_module.rb +++ b/activerecord/test/models/company_in_module.rb @@ -17,6 +17,8 @@ module MyApplication class Client < Company belongs_to :firm, :foreign_key => "client_of" belongs_to :firm_with_other_name, :class_name => "Firm", :foreign_key => "client_of" + + class Contact < ActiveRecord::Base; end end class Developer < ActiveRecord::Base -- cgit v1.2.3