diff options
author | Matt Hanlon <hanlon@skytap.com> | 2015-08-07 12:33:09 -0700 |
---|---|---|
committer | Matt Hanlon <hanlon@skytap.com> | 2015-08-07 12:33:09 -0700 |
commit | 5ec9e9349e320e5547c8b36266dbeed07082dd51 (patch) | |
tree | d70c4d41c6e608c1d1f677c6954911f4c43a940d /activerecord/test/models | |
parent | 3fb5cd4d407840ce0a40e4fc82e07a33768a00be (diff) | |
download | rails-5ec9e9349e320e5547c8b36266dbeed07082dd51.tar.gz rails-5ec9e9349e320e5547c8b36266dbeed07082dd51.tar.bz2 rails-5ec9e9349e320e5547c8b36266dbeed07082dd51.zip |
use correct DB connection for generated HABTM table
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/professor.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/professor.rb b/activerecord/test/models/professor.rb new file mode 100644 index 0000000000..7654eda0ef --- /dev/null +++ b/activerecord/test/models/professor.rb @@ -0,0 +1,5 @@ +require_dependency 'models/arunit2_model' + +class Professor < ARUnit2Model + has_and_belongs_to_many :courses +end |