aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorJulia Lopez <julia@getharvest.com>2016-12-14 12:14:47 +0100
committerJulia Lopez <julia@getharvest.com>2016-12-21 11:09:29 +0100
commit5e46f4ccb477dcb0ecce3242f20c59e9c890964d (patch)
tree41197bd9ae640b736cec312b5c0bc78dadbb48f1 /activerecord/test/models
parent0dc9eb46ee47b1196583fd860b25242b6421ab1e (diff)
downloadrails-5e46f4ccb477dcb0ecce3242f20c59e9c890964d.tar.gz
rails-5e46f4ccb477dcb0ecce3242f20c59e9c890964d.tar.bz2
rails-5e46f4ccb477dcb0ecce3242f20c59e9c890964d.zip
fix #create_fixtures when equal table names in different databases
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/other_dog.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/other_dog.rb b/activerecord/test/models/other_dog.rb
new file mode 100644
index 0000000000..418caf34be
--- /dev/null
+++ b/activerecord/test/models/other_dog.rb
@@ -0,0 +1,5 @@
+require_dependency "models/arunit2_model"
+
+class OtherDog < ARUnit2Model
+ self.table_name = "dogs"
+end