push
Fix NoMethodError on Rails 7.x (#114) When attempting to run `rails g rails_settings:migration` in a Rails `7.x` project, the generator fails with a `NoMethodError` out of `activerecord-7.1.0/lib/active_record/dynamic_matchers.rb:22` The `timestamped_migrations` method was moved from `ActiveRecord::Base` to `ActiveRecord` in the `7.x` branch, see https://github.com/rails/rails/commit/bcd6c0f3d
137 of 145 relevant lines covered (94.48%)
19.79 hits per line