Why did you change this to make a db connection, when before it just checked the configured adapter? `/mysql/ === ActiveRecord::Base.connection_config[:adapter] `