pat / combustion

Simple, elegant testing for Rails Engines
MIT License
707 stars 51 forks source link

deprecation on rails edge involving db configuration to_h #106

Closed jrochkind closed 2 years ago

jrochkind commented 4 years ago
DEPRECATION WARNING: to_h is deprecated and will be removed from Rails 6.2 (You can use `ActiveRecord::Base.configurations.configs_for(env_name: 'env', name: 'primary').configuration_hash` to get the configuration hashes.) (called from resettable_db_configs at /Users/jrochkind/.gem/ruby/2.5.3/gems/combustion-1.3.0/lib/combustion/database/reset.rb:55)
pat commented 4 years ago

Thanks for lodging this - will try to get a fix sorted soon!

pat commented 4 years ago

Just merged in a fix - if you could confirm things work well for you using the git reference instead of a gem release, that'd be greatly appreciated :) and then I'll get a new release out.

pat commented 3 years ago

Just published 1.3.1 with this fix :)