Should I change to this 
```ruby
   if ActiveRecord::Base.connection.adapter_name.downcase =~ /mysql/
```