Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NoMethodError on Rails 7.x when running rails g rails_settings:migration #114

Merged
merged 1 commit into from
Oct 20, 2023

Commits on Oct 20, 2023

  1. Fix NoMethodError on Rails 7.x

    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
    rails/rails@bcd6c0f
    nicbet authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    e9414e3 View commit details
    Browse the repository at this point in the history