Sebastian Oelke
Sebastian Oelke
@davisokoth Not really dead. I just haven't touched Ruby in a long time and can't really follow the changes in devise.
@prcongithub I did not follow changes in Ruby or Devise for a long time. Is this a change that happened in devise? Can you explain why this worked before? Which...
@contentfree A bit late, but I ran into the same issue. I am using MySQL and solved it like this: ```ruby DB.run('SET FOREIGN_KEY_CHECKS=0;') DatabaseCleaner.clean_with(:truncation) DB.run('SET FOREIGN_KEY_CHECKS=1;') ```
I just had the same issue. I solved it by setting the database instance manually: ```ruby db = Sequel.connect(ENV.fetch('DATABASE_URL')) DatabaseCleaner[:sequel].db = db ```