Skip to content

Commit

Permalink
fix: Run actiontext migrations for rails >= 6
Browse files Browse the repository at this point in the history
- as actiontext is available on rails >= 6.0
  • Loading branch information
KapilSachdev committed Nov 1, 2020
1 parent 4ecc9d2 commit 1f9996e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/unit/rails_application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1f9996e

Please sign in to comment.