Fix CI against Rails 6.1 by okuramasafumi · Pull Request #563 · collectiveidea/audited
Rails 6.1 introduced a change of ActiveRecord configurations. Now we get a deprecation warning saying should use configs_for. Here we check AR version and if it's newer than 6.1, use the latest...