Skip to content

Commit

Permalink
Don't set represent_boolean_as_integer on Rails 6
Browse files Browse the repository at this point in the history
  • Loading branch information
tegon committed Aug 6, 2019
1 parent 77cb394 commit 69534c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rails_app/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Application < Rails::Application
end

# Remove this check once Rails 5.0 support is removed.
if Devise::Test.rails52_and_up?
if Devise::Test.rails52_and_up? && !Devise::Test.rails6?
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
end
end
Expand Down

0 comments on commit 69534c6

Please sign in to comment.