aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/college.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-02-13 09:11:33 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-02-13 09:11:33 -0800
commit04c0aea47ab6530af3e9e6aa7c8edb26e6dfdbe7 (patch)
tree33741d89dc5dcb35a18c07f66d406c182752884e /activerecord/test/models/college.rb
parent3a5a01f7f6af2456acab1b662f618f326002ee5f (diff)
parent9f8b4d1510f66597bbe8732e507173217df9f14d (diff)
downloadrails-04c0aea47ab6530af3e9e6aa7c8edb26e6dfdbe7.tar.gz
rails-04c0aea47ab6530af3e9e6aa7c8edb26e6dfdbe7.tar.bz2
rails-04c0aea47ab6530af3e9e6aa7c8edb26e6dfdbe7.zip
Merge pull request #5000 from flavorpill/master-with-multidb-association-fix
Fix associations with per-class/multiple database connections
Diffstat (limited to 'activerecord/test/models/college.rb')
-rw-r--r--activerecord/test/models/college.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/college.rb b/activerecord/test/models/college.rb
new file mode 100644
index 0000000000..c7495d7deb
--- /dev/null
+++ b/activerecord/test/models/college.rb
@@ -0,0 +1,5 @@
+require_dependency 'models/arunit2_model'
+
+class College < ARUnit2Model
+ has_many :courses
+end