aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAndrew White <pixeltrix@users.noreply.github.com>2017-02-21 20:00:31 +0000
committerGitHub <noreply@github.com>2017-02-21 20:00:31 +0000
commitf3d729f75363136f659f2cb78165ca5c899ecfe7 (patch)
treead405ccb51b3982b6f342553412ac8c412d52615 /activerecord
parent25f5d0913dbc627ab18bd16f95a757b1d083b9e3 (diff)
parentde24b8cb9c38a02b521d762d4b8eef11f6a78978 (diff)
downloadrails-f3d729f75363136f659f2cb78165ca5c899ecfe7.tar.gz
rails-f3d729f75363136f659f2cb78165ca5c899ecfe7.tar.bz2
rails-f3d729f75363136f659f2cb78165ca5c899ecfe7.zip
Merge pull request #23138 from rails/custom-url-helpers-and-polymorphic-urls
Implement custom url helpers and polymorphic mapping
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/dirty_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/dirty_test.rb b/activerecord/test/cases/dirty_test.rb
index c0d6ddcea7..a43c06cd6e 100644
--- a/activerecord/test/cases/dirty_test.rb
+++ b/activerecord/test/cases/dirty_test.rb
@@ -577,6 +577,7 @@ class DirtyTest < ActiveRecord::TestCase
end
ensure
ActiveRecord::Base.connection.drop_table :testings rescue nil
+ ActiveRecord::Base.clear_cache!
end
end