From 1f9996ea6481ec2b634ecf7a4e1c4eccba9f15b2 Mon Sep 17 00:00:00 2001 From: Kapil Sachdev Date: Sun, 1 Nov 2020 23:17:29 +0530 Subject: [PATCH] fix: Run actiontext migrations for rails >= 6 - as actiontext is available on rails >= 6.0 --- spec/support/unit/rails_application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/unit/rails_application.rb b/spec/support/unit/rails_application.rb index b31d80db9..2dd55f313 100644 --- a/spec/support/unit/rails_application.rb +++ b/spec/support/unit/rails_application.rb @@ -26,7 +26,7 @@ def create def load load_environment - if rails_version > 5 && bundle.includes?('actiontext') + if rails_version > 5.2 && bundle.includes?('actiontext') add_action_text_migration end