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

require reflection_extensions when ActiveRecordExtensions is extended #286

Merged

Commits on Aug 2, 2023

  1. require reflection_extensions when ActiveRecordExtensions is extended

    `extend ActiveHash::Associations::ActiveRecordExtensions` does not require 'reflection_extensions'
    so the following error occurs when `compute_class` is called in Rails 7.
    
    ```
    ArgumentError: Rails couldn't find a valid model for Rank association.
    Please provide the :class_name option on the association declaration.
    If :class_name is already provided, make sure it's an ActiveRecord::Base subclass.
    ```
    iberianpig committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    afb99de View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. doc: update CHANGELOG

    flavorjones committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    9a83682 View commit details
    Browse the repository at this point in the history