aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/company_in_module.rb
diff options
context:
space:
mode:
authorRich Bradley <richbradley@gmail.com>2009-08-08 23:29:38 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-08-09 00:31:46 -0700
commit9bb8ef9edebf5c27b8a1c67ca3776d52afbc1dc4 (patch)
treefa7154082c74f53d2441407786ce72ecb68903da /activerecord/test/models/company_in_module.rb
parent0d539947017e0ba04601889e2a3e01a64bcadf69 (diff)
downloadrails-9bb8ef9edebf5c27b8a1c67ca3776d52afbc1dc4.tar.gz
rails-9bb8ef9edebf5c27b8a1c67ca3776d52afbc1dc4.tar.bz2
rails-9bb8ef9edebf5c27b8a1c67ca3776d52afbc1dc4.zip
Fix for nested :include with namespaced models.
[#260 state:committed]
Diffstat (limited to 'activerecord/test/models/company_in_module.rb')
-rw-r--r--activerecord/test/models/company_in_module.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/company_in_module.rb b/activerecord/test/models/company_in_module.rb
index 8b84c2fb5e..cdda7a44d4 100644
--- a/activerecord/test/models/company_in_module.rb
+++ b/activerecord/test/models/company_in_module.rb
@@ -13,7 +13,7 @@ module MyApplication
has_many :clients_like_ms, :conditions => "name = 'Microsoft'", :class_name => "Client", :order => "id"
has_many :clients_using_sql, :class_name => "Client", :finder_sql => 'SELECT * FROM companies WHERE client_of = #{id}'
- has_one :account, :dependent => :destroy
+ has_one :account, :class_name => 'MyApplication::Billing::Account', :dependent => :destroy
end
class Client < Company